StringSearch.lengthOf

Returns the length of "str" without null terminator.

  1. alias lengthOf = c_wchar.wcslen
  2. alias lengthOf = c_string.strlen
  3. size_t lengthOf(Char[] str)
    struct StringSearch(bool wide_char = false)
    static
    size_t
    lengthOf
    (
    in Char[] str
    )

Parameters

str Char[]

input string (may or may not be null terminated)

Return Value

Type: size_t

the length of the string of this segment

Meta