Saturday, January 10, 2009

C# - Check if a Character is a WhiteSpace

public void check_whitespace()
{
string sample = " StartsWith";

MessageBox.Show(Char.IsWhiteSpace(sample, 0).ToString ());
}

No comments:

Post a Comment