Operator Type:
Operator Scope of Action:
Operator Purpose:
Operator First Added:
Operator Altered:
Function [other Function type actions]
Item [operators of similar scope]
Stream parsing [other Stream parsing operators]
9.1.0
Stream.expect("matchString")
The operator tests if the String begins with the matchString string with the following results:
- success: operator returns the rest of string that follows matchString.
- failure: nothing is returned