You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


trim

Returns its string argument without leading or trailing whitespace.

Example

trim(" Hello Cleveland ")

This example returns the string “Hello Cleveland”.

Syntax

trim(string str)
  • str: string

    Returns

    string

Description

trim searches for any white space preceding non-white space characters in its string argument. It removes the preceding white space characters and returns the result.

© Incorta, Inc. All Rights Reserved.