java Programming Glossary: currentword
Is there an equivalent to the Scanner class in C# for strings? http://stackoverflow.com/questions/722270/is-there-an-equivalent-to-the-scanner-class-in-c-sharp-for-strings Scanner class class Scanner System.IO.StringReader string currentWord public Scanner string source base source readNextWord private.. char.IsWhiteSpace char this.Peek this.Read if sb.Length 0 currentWord sb.ToString else currentWord null public bool hasNextInt if.. this.Read if sb.Length 0 currentWord sb.ToString else currentWord null public bool hasNextInt if currentWord null return false..
|