Support and General Use > Theming and Appearance Customization

How can I set the operand of an if function to a blank space character?

(1/1)

Dook:
I'm trying to use the %ss tag in an if tag to detect if a string of text has a blank space at a specified position, however I can't seem to find out how to set the operand of the if statement to a space, the following fails

--- Code: ---%?if(%ss(14, 14, %it) ,=,  )<%Vd(true)|%Vd(false)>
%?if(%ss(14, 14, %it) ,=, % )<%Vd(wordbreak)|%Vd(nobreak)>
--- End code ---

Does anyone know what the correct way to do this is? If it's even possible.

Navigation

[0] Message Index

Go to full version