Java.Util.StringTokenizer Class
Breaks a string into tokens; new code should probably use Java.Lang.String.Split(string).

See Also: StringTokenizer Members

Syntax

[Android.Runtime.Register("java/util/StringTokenizer", DoNotGenerateAcw=true)]
public class StringTokenizer : Java.Lang.Object, IEnumeration, IDisposable

Remarks

Breaks a string into tokens; new code should probably use Java.Lang.String.Split(string).

java Example

 // Legacy code:
 StringTokenizer st = new StringTokenizer("a:b:c", ":");
 while (st.hasMoreTokens()) {
     System.err.println(st.nextToken());
 }

 // New code:
 for (String token : "a:b:c".split(":")) {
     System.err.println(token);
 }
 

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1