StringSearch.charConvDup

Checks if all symbols of str are not modified by predicate convert, creates a duplicate otherwise.

Params str = string to check/convert

struct StringSearch(bool wide_char = false)
static
const(Char)[]
charConvDup
(
alias convert
)
(
const(Char)[] str
)

Return Value

Type: const(Char)[]

str untouched if all symbols are already converted, duplicated and converted string otherwise

Meta