Syntax

trim(str)

Description

Returns a trimmed copy of the string passed as parameter with the leading and trailing whitespaces removed.

Parameters

Parameter name

Type

Required

Description

str

string

Yes

String to trim.

Return type

string

Example


Notes

See also