Download Latest Version API Change_ New API _ToPascalCase_ and make _ToCamelCase_ camelCase source code.zip (25.6 kB)
Email in envelope

Get an email when there's a new version of xstrings

Home / v1.4.0
Name Modified Size InfoDownloads / Week
Parent folder
API Change_ _ToCamelCase_ preserves source string case.tar.gz 2022-12-01 18.4 kB
API Change_ _ToCamelCase_ preserves source string case.zip 2022-12-01 25.4 kB
README.md 2022-12-01 422 Bytes
Totals: 3 Items   44.2 kB 0

As ToCamelCase is a port of RoR's String#camelize, this change makes the return value of this method consistent with its origin. Thanks @dbainbri-ciena for raising this issue in [#54].

This is a breaking API change. The return value of ToCamelCase("toCamelCase") was Tocamelcase and then it's ToCamelCase now. If this change breaks your code, please let me know and open new issue against this change. Thanks.

Source: README.md, updated 2022-12-01