locate
- size_t locate(Char[] s, dchar c, size_t start, CaseSensitive cs)
size_t
locate
(,,,CaseSensitive cs = CaseSensitive.yes ) - size_t locate(Char1[] s, Char2[] sub, size_t start, CaseSensitive cs)
- size_t locatePrior(Char[] s, dchar c, size_t start, CaseSensitive cs)
- size_t locatePrior(Char1[] s, Char2[] sub, size_t start, CaseSensitive cs)
semitwist util text
aliasesenumsfunctionsstructstemplatesvariables
Like std.string.indexOf, but with an optional 'start' parameter, and returns s.length when not found (instead of -1).