JSONTokener.NextTo 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
NextTo(Char) |
Equivalent to |
NextTo(String) |
Returns the |
NextTo(Char)
Equivalent to nextTo(String.valueOf(excluded))
.
[Android.Runtime.Register("nextTo", "(C)Ljava/lang/String;", "GetNextTo_CHandler")]
public virtual string? NextTo (char excluded);
[<Android.Runtime.Register("nextTo", "(C)Ljava/lang/String;", "GetNextTo_CHandler")>]
abstract member NextTo : char -> string
override this.NextTo : char -> string
Parameters
- excluded
- Char
Returns
- Attributes
Remarks
Equivalent to nextTo(String.valueOf(excluded))
.
Java documentation for org.json.JSONTokener.nextTo(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
NextTo(String)
Returns the String#trim trimmed
string holding the characters up
to but not including the first of:
<ul>
<li>any character in excluded
<li>a newline character '\n'
<li>a carriage return '\r'
</ul>
[Android.Runtime.Register("nextTo", "(Ljava/lang/String;)Ljava/lang/String;", "GetNextTo_Ljava_lang_String_Handler")]
public virtual string? NextTo (string? excluded);
[<Android.Runtime.Register("nextTo", "(Ljava/lang/String;)Ljava/lang/String;", "GetNextTo_Ljava_lang_String_Handler")>]
abstract member NextTo : string -> string
override this.NextTo : string -> string
Parameters
- excluded
- String
Returns
a possibly-empty string
- Attributes
Remarks
Returns the String#trim trimmed
string holding the characters up to but not including the first of: <ul> <li>any character in excluded
<li>a newline character '\n' <li>a carriage return '\r' </ul>
Java documentation for org.json.JSONTokener.nextTo(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.