CIUniString

Case-insensitive Unicode string.

alias CIUniString = NormalizedArray!(immutable(char), s => s.map!(std.uni.toLower))

Examples

t
{
	CIUniString s = "привет";
	assert(s == "ПРИВЕТ");
	assert(s >= "Привет" && s <= "Привет");
	assert(CIUniString("я") == CIUniString("Я"));
	assert(CIUniString("а") != CIUniString("Б"));
	assert(CIUniString("а") <  CIUniString("Б"));
	assert(CIUniString("А") <  CIUniString("б")

Meta