Methods

~ΒΆ

~(s:Str, sfx:Sfx)

Check whether s ends with pfx.
Source: stdlib.ngs:3667

Returns

Match

Example

"abcde" ~ Sfx("de")  # <MatchY matches=['de'] before=abc after=>
"abcde" ~ Pfx("xy")  # <MatchN >