Error Messages/40781

< Error Messages
Revision as of 04:54, 20 December 2009 by Lchrisman (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.