string StringTrimLeft(string text)
The function cuts line feed characters, spaces and tabs in the left part
of the string. The function returns a copy of the trimmed string, if possible.
Otherwise, it returns an empty string.
この関数は、文字列の左部分のライン フィード文字、スペースやタブをカットします。この関数は、可能な場合、詰められた文字列のコピーを返します。それ以外の場合は、空の文字列を返します。
Parameters:
パラメータ:
text - String to be trimmed at the left.
左に詰める文字列。
Sample:
サンプル:
string str1=" Hello world ";
string str2=StringTrimLeft(str);
// after trimming the str2 variable will be "Hello World "
|