Garry's Mod Wiki

string.TrimLeft

  string string.TrimLeft( string str, string char = "%s" )

Description

Removes leading spaces/characters from a string.

Arguments

1 string str
String to trim
2 string char = "%s"
Custom character to remove

Returns

1 string
Trimmed string