Garry's Mod Wiki

string.TrimLeft

  string string.TrimLeft( string str, string char )

Description

Removes leading spaces/characters from a string.

Arguments

1 string str
String to trim
2 string char
Custom character to remove

Returns

1 string
Trimmed string