string-extra icon indicating copy to clipboard operation
string-extra copied to clipboard

String helper functions for Elm.

Results 25 string-extra issues
Sort by recently updated
recently updated
newest added

The behavior might slightly differ from the original in cases where there's a special character in front of a word. It's a lot simpler though! The original has two issues:...

Importing version 1.4.0 and compiling gives the following error ``` App.js:8623 Uncaught SyntaxError: Invalid regular expression: /[Ù-Ü]/: Range out of order in character class at new RegExp () at regex...

``` underscore "SomeClassName" == "some_class_name" ``` Doesn't add _ at the beginning. ``` dasherize "SomeClassName" == "-some-class-name" ``` Adds leading `_`. What is the logic for this. Seems unexpected.

- `Inflector` means nothing to me as an Elm developer. Or even as a developer on the whole! I would recommend dropping this subtitle entirely. You can mention that these...

I use this sometimes and it would be nice to have in String.Extra I think ``` elm firstToUpper : String -> String firstToUpper str = String.uncons str |> Maybe.map (Tuple.mapFirst...