Methods
~
ΒΆ
~(s:
Str
, pfx:
Pfx
)
Check whether s starts with pfx.
Source:
stdlib.ngs:3655
Returns
Match
Example
"abcde" ~ Pfx("ab") # <MatchY matches=['ab'] before= after=cde> "abcde" ~ Pfx("xy") # <MatchN >