StringSearch.locateChar

Locates the first occurence of value within str.

  1. size_t locateChar(Char[] str, Char value, size_t start, size_t length)
  2. size_t locateChar(Char[] str, Char value, size_t start)
    struct StringSearch(bool wide_char = false)
    static
    size_t
    locateChar
    (
    in Char[] str
    ,,
    size_t start = 0
    )

Parameters

str Char[]

string to search for "value"

value Char

element value to find

start size_t

start index

Return Value

Type: size_t

the index of the first element with value "value" or the index of the last examined element + 1

Meta