Difference between revisions of "Manuals/calci/TRIM"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
where, | where, | ||
− | *<math>Value</math> a text value from which spaces are to be removed. | + | *<math>Value</math> is a text value from which spaces are to be removed. |
− | TRIM() removes the extra leading | + | TRIM() removes the extra leading and trailing spaces from the given text, excluding the single spaces between words. |
== Description == | == Description == |
Revision as of 19:43, 6 February 2014
TRIM(Value)
where,
- is a text value from which spaces are to be removed.
TRIM() removes the extra leading and trailing spaces from the given text, excluding the single spaces between words.
Description
TRIM(Value)
e.g. TRIM(" Good Morning") removes two leading spaces from the text and returns Good Morning as a result.
- TRIM function is used to remove the irregular spacing from the text.
- is a text value and should be enclosed in double quotes (e.g. "TEXT"), when directly entered in the command.
Examples
Consider the following examples that demonstrate the use of TRIM function: