(string) toStudlyCaps (delimiterx)
Convert to StudlyCaps from delimiterized compound words.
Parameters:
name | type | default | caption |
---|---|---|---|
delimiter | string | '_' | Delimiter. |
Returns:
- (string) — StudlyCaps string.
Author:
- StewEucen
Since:
- Version 1.0.0
Aliases:
- toPascalCase
Examples:
"snake_case".toStudlyCaps() //=> "SnakeCase"
"get_utc__day".toStudlyCaps() //=> "GetUTCDay"
"ui__view".toStudlyCaps() //=> "UIView"
"xml__html__request".toStudlyCaps() //=> "XML_HTMLRequest"