The OpenD Programming Language

validLength

Returns the length of the longest possible substring, starting from the first code unit, which is validly encoded.

size_t
validLength
(
E
)
(
const(E)[] s
)

Parameters

s const(E)[]

the string to be tested

Meta

Standards

Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250, WINDOWS-1251, WINDOWS-1252