StringTokenizer.HasMoreTokens Property

Definition

Tests if there are more tokens available from this tokenizer's string.

public virtual bool HasMoreTokens { [Android.Runtime.Register("hasMoreTokens", "()Z", "GetHasMoreTokensHandler")] get; }
[<get: Android.Runtime.Register("hasMoreTokens", "()Z", "GetHasMoreTokensHandler")>]
member this.HasMoreTokens : bool

Property Value

true if and only if there is at least one token in the string after the current position; false otherwise.

Attributes

Remarks

Tests if there are more tokens available from this tokenizer's string. If this method returns true, then a subsequent call to nextToken with no argument will successfully return a token.

Java documentation for java.util.StringTokenizer.hasMoreTokens().

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