Error Messages/40781

< Error Messages
Revision as of 20:55, 4 April 2016 by Bbecane (talk | contribs)
(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.

Remedies

Change the parameters to TextTrim so that either leftOnly: true or rightOnly: true but not both.

See Also

Comments


You are not allowed to post comments.