strings.php
This file is part of the Parsica library.
Copyright (c) 2020 Mathias Verraes mathias@verraes.net
For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
Table of Contents
Functions
- string() : Parser
- Parse a non-empty string.
- stringI() : Parser
- Parse a non-empty string, case-insensitive, and case-preserving. On success, it returns the string cased as the actually parsed input.
Functions
string()
Parse a non-empty string.
string(string $str) : Parser
Parameters
- $str : string
Tags
Return values
ParserstringI()
Parse a non-empty string, case-insensitive, and case-preserving. On success, it returns the string cased as the actually parsed input.
stringI(string $str) : Parser
eg stringI("foobar")->tryString("foObAr") will succeed with "foObAr"
Parameters
- $str : string