Wordwrap when code more than (x) characters long

SUGGESTED

Hi

I'm looking to create a conditional formatting expression where if a stock code is more than x characters (lets say 10) long, then enable word wrap. I know how to enable word wrap, it is the 'if' part of the expression I am struggling with. Does anyone know if / how this is possible?

Thanks.