StringSearch.stripTerm

Strips the null terminator from str, if any.

struct StringSearch(bool wide_char = false)
static
bool
stripTerm
(
ref Char[] str
)

Parameters

str Char[]

input to '\0'-unterminate

Return Value

Type: bool

true if the string had a '\0'-terminator and therefore was changed, or false otherwise.

Meta