StringTokenizer.NextToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| NextToken() |
Returns the next token from this string tokenizer. |
| NextToken(String) |
Returns the next token in this string tokenizer's string. |
NextToken()
Returns the next token from this string tokenizer.
[Android.Runtime.Register("nextToken", "()Ljava/lang/String;", "GetNextTokenHandler")]
public virtual string? NextToken ();
[<Android.Runtime.Register("nextToken", "()Ljava/lang/String;", "GetNextTokenHandler")>]
abstract member NextToken : unit -> string
override this.NextToken : unit -> string
Returns
the next token from this string tokenizer.
- Attributes
Exceptions
if no tokens remain.
Remarks
Java documentation for java.util.StringTokenizer.nextToken().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
NextToken(String)
Returns the next token in this string tokenizer's string.
[Android.Runtime.Register("nextToken", "(Ljava/lang/String;)Ljava/lang/String;", "GetNextToken_Ljava_lang_String_Handler")]
public virtual string? NextToken (string? delim);
[<Android.Runtime.Register("nextToken", "(Ljava/lang/String;)Ljava/lang/String;", "GetNextToken_Ljava_lang_String_Handler")>]
abstract member NextToken : string -> string
override this.NextToken : string -> string
Parameters
- delim
- String
the new delimiters.
Returns
the next token, after switching to the new delimiter set.
- Attributes
Exceptions
if no tokens remain.
Remarks
Java documentation for java.util.StringTokenizer.nextToken(java.lang.String).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.