Difference between revisions of "Error Messages/40781"

(Created page with '= Error Text = In function TextTrim, the «leftOnly» and «rightOnly» parameters cannot both be true. = Cause = TextTrim removes leading and/or trailing spaces, for…')
 
Line 19: Line 19:
  
 
* [[TextTrim]]
 
* [[TextTrim]]
 +
* [[TextReplace]]

Revision as of 04:54, 20 December 2009

Error Text

In function TextTrim, the «leftOnly» and «rightOnly» parameters cannot both be true.

Cause

TextTrim removes leading and/or trailing spaces, for example:

TextTrim(" hello ") → "hello"

The optional parameters named in the error message allows you to trim only leading spaces, or only trailing spaces, e.g.:

TextTrim(" hello ", leftOnly:true) → "hello "
TextTrim(" hello ", rightOnly:true) → " hello"

If you specify both as true, this error message is issued.

See Also

Comments


You are not allowed to post comments.