Manuals/calci/TRIM

From ZCubes Wiki
Revision as of 14:45, 14 May 2015 by Swapna (talk | contribs)
Jump to navigation Jump to search

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:

Function Output
TRIM(" Zcubes") Zcubes
TRIM(" TRIM Function ") TRIM Function

Related Videos

{#ev:youtube|SZRT5GNIxxM|280|center|TRIM}}

See Also

References