strtrim( param )


Parameters

  Type Description
param string string to modify

_result

Set to a new string value.

Descriptions

Sets _result to a copy of param with leading spaces and tabs removed. Trailing spaces and tabs are not removed. If param is not a string an error is produced.

In the example below the print command appends "Hello" to the print log.

strlen( "   Hello" )
print( _result )

See Also

strlen, strins, strmid, strfind, strbreak, strspan, stricmp, strrev, strlower, strupper