You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

TRIM$ returns a string value without leading or trailing spaces

Syntax

 

Arguments

  •  returns a string value. "NullString" is considered as a DETERMINED empty string. TRIM$ returns a string value without leading or trailing spaces.

  •  is the option of the TRIM$ function.

    • For , the string is not trimmed where it is surrounded bij CrLf (Carriage return Linefeed)

    • For , the string is also trimmed where it is surrounded bij CrLf

Examples

returnsThe string is surrounded by CrLf, so the spaces are not trimmed for


returnsThe string is surrounded by CrLf, spaces and CrLf are trimmed for Mode%=1


 

Quick links: Function overview | Attribute overview | Constants overview | Dimensions overview

  • No labels