Re: Support for converting string to snake case.

2022-06-22 Thread Gary Gregory
Hard to say without seeing a PR. I expect that the code would support generating foo_bar (for variables) as well as FOO_BAR (for constants). Gary Gary On Wed, Jun 22, 2022, 07:38 Ratul Sharker wrote: > Hi There, > > Good evening. Lately I was in need of an operation to convert a camel case > s

Support for converting string to snake case.

2022-06-22 Thread Ratul Sharker
Hi There, Good evening. Lately I was in need of an operation to convert a camel case string into a snake case string. Searching in google forwarded me to "org.apache.commons.text.CaseUtils" which has `toCamelCase(...)`. I want to contribute my implementation of `toSnakeCase(...)` similar to `toCa