TRIMS()

Top  Previous  Next

 

The TRIMS() function removes excess spaces from strings in a dynamic array, operating on each element in turn and and returning an equivalently structured dynamic array of trimmed strings.

 

 

Format

 

TRIMS(string)

 

where

 

stringevaluates to the string to be trimmed.

 

 

Example

 

A = "  1  2  3  " : @FM : "  4  5  6"

B = TRIMS(A)

 

B becomes "1 2 3FM4 5 6"

 

 

See also:

TRIM(), TRIMB(), TRIMF()