splitByCamelCase

Splits out words from a camel-cased string. All-uppercase words are returned as a single word.

string[]
splitByCamelCase
(
string s
)

Examples

t
{
	assert(splitByCamelCase("parseIPString") == ["parse", "IP", "String"]);
	assert(splitByCamelCase("IPString") == ["IP", "String"]

Meta