Version: 0.7.0

strings

string

Parse a non-empty string.

function string(string $str) : Parser

stringI

Parse a non-empty string, case-insensitive and case-preserving. On success it returns the string cased as the actually parsed input. eg stringI("foobar")->tryString("foObAr") will succeed with "foObAr"

function stringI(string $str) : Parser