Base Scripting Language GuidePascal-Library Custom Scripting FunctionsTrimLeftOn this pageTrimLeftTrims leading spaces and control characters from a string. Structure TrimLeft(string): string; Parameters Return value Description TrimLeft returns a copy of the string S with leading spaces and control characters removed.