<p>This must be a classic .NET question for anyone migrating from Java.  </p>

<p>.NET does not seem to have a direct equivalent to java.io.StreamTokenizer, however the JLCA provides a SupportClass that attempts to implement it.  I believe the JLCA also provides a Tokenizer SupportClass that takes a String as the source, which I thought a StreamTokenizer would be derived from, but isn't.</p>

<p><strike>What is the <em>preferred</em> way to Tokenize both a Stream and a String? or is there one?</strike> How are streams tokenized in .Net?  I'd like to have the flexibility that java.io.StreamTokenizer provides.  Any thoughts?</p>

To tokenize a string, use
```
string.Split(...)
```
.