elm-community / string-extra

String helper functions for Elm.

Home Page:http://package.elm-lang.org/packages/elm-community/string-extra/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

camelize output is unexpected.

janwirth opened this issue · comments

Case 1: preserving unwanted special characters
I expect camelize ".hello world" --> "helloWorld"
Currently it is camelize ".hello world" --> ".helloWorld"

Case 2: preserving unwanted special characters
I expect camelize "hello world" --> "helloWorld"
Currently it is camelize "hello world" --> "HelloWorld"

It does the same as classify... except it preserves special characters