Module
Data.String.Extra
- Package
- purescript-strings-extra
- Repository
- purescript-contrib/purescript-strings-extra
#pascalCase Source
pascalCase :: String -> String
Converts a String
to Pascal case
pascalCase "Hello world" == "HelloWorld"
#upperCaseFirst Source
upperCaseFirst :: String -> String
Converts the first character in a String
to upper case, lower-casing
the rest of the string.
upperCaseFirst "hello World" == "Hello world"
- Modules
- Data.
String. Extra