BasicString.frontCodePoint

Returns first utf code point(dchar) of the BasicString.

This function shall not be called on empty strings.

struct BasicString
@property const scope pure nothrow @trusted @nogc
dchar
frontCodePoint
()

Examples

BasicString!char str = "á123";

assert(str.frontCodePoint == 'á');

Meta