StringSearch.appendTerm

Adds a '\0' terminator to "str" if not present.

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

Parameters

str Char[]

string to '\0'-terminate

Return Value

Type: bool

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

Meta