andrew4582

IsWhitespace

Dec 1st, 2010
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.22 KB | None | 0 0
  1.         public static bool IsWhitespace(char ch)
  2.         {
  3.             if (((ch != ' ') && (ch != '\t')) && (ch != '\r'))
  4.             {
  5.                 return (ch == '\n');
  6.             }
  7.             return true;
  8.         }
Advertisement
Add Comment
Please, Sign In to add comment