StringSearch.locateCharSet

Locates the first occurrence of any of the characters of charset in str.

struct StringSearch(bool wide_char = false)
static
size_t
locateCharSet
(
in Char[] str
,,
size_t start = 0
)

Parameters

str Char[]

string to scan

charset Char[]

set of characters to look for

start size_t

search start index

Return Value

Type: size_t

index of first occurrence of any of the characters of charset in str

Meta