StreamTokenizer.Sval Property

Definition

If the current token is a word token, this field contains a string giving the characters of the word token.

[Android.Runtime.Register("sval")]
public string? Sval { get; set; }
[<Android.Runtime.Register("sval")>]
member this.Sval : string with get, set

Property Value

Attributes

Remarks

If the current token is a word token, this field contains a string giving the characters of the word token. When the current token is a quoted string token, this field contains the body of the string.

The current token is a word when the value of the ttype field is TT_WORD. The current token is a quoted string token when the value of the ttype field is a quote character.

The initial value of this field is null.

Java documentation for java.io.StreamTokenizer.sval.

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