Removes all leading whitespace characters.
Syntax
str.TrimStart()Example
Enter values below to update the example in real time.
string→Console→WriteLine→TrimStart→string text = " hello world ";
Console.WriteLine(text.TrimStart()); // "hello world "