Inside Coldfusion MX
Cjustify (string, length) Description
Centers a string in a field length. If the length is less than the string, it is returned unchanged. Example
To set a form string dynamically, you could use something like the following: <cfset examplestring = Cjustify("#FORM.textinput#", 35)> |