Java.Util.Scanner.FindInLine Method
Compiles the pattern string and tries to find a substring matching it in the input data.

Syntax

[Android.Runtime.Register("findInLine", "(Ljava/lang/String;)Ljava/lang/String;", "")]
public string FindInLine (string pattern)

See Also

Scanner.FindInLine(Java.Util.Regex.Pattern)

Parameters

pattern
a string used to construct a pattern which is in turn used to match a substring of the input data.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionif the Scanner is closed.

Remarks

Compiles the pattern string and tries to find a substring matching it in the input data. The delimiter will be ignored. This is the same as invoking findInLine(Pattern.compile(pattern)).

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1