Language

JSONTokener.SkipTo(Char) Method

Definition

Advances past all input up to but not including the next occurrence of to.

[Android.Runtime.Register("skipTo", "(C)C", "GetSkipTo_CHandler")]
public virtual char SkipTo(char to);
[<Android.Runtime.Register("skipTo", "(C)C", "GetSkipTo_CHandler")>]
abstract member SkipTo : char -> char
override this.SkipTo : char -> char

Parameters

to
Char

The character to locate.

Returns

to, or '\0' if it does not occur in the remaining input.

Attributes

Remarks

Advances past all input up to but not including the next occurrence of to. If the remaining input doesn't contain to, the input is unchanged.

Java documentation for org.json.JSONTokener.skipTo(char).

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