Gleam library which provides casefold, a function to convert a string to a case-agnostic comparable string.
- Gleam 83.5%
- JavaScript 11%
- Erlang 5.5%
|
Austin Ziegler
749e273939
Like `list.split` (and unlike `string.split`), this will split the string at a specific grapheme index. Signed-off-by: Austin Ziegler <austin@zieglers.ca> |
||
|---|---|---|
| src | feat: split_at | |
| test | feat: split_at | |
| .gitignore | Initial commit | |
| gleam.toml | Version 2.1.0 | |
| manifest.toml | Update manifest: gleam_stdlib 1.0.2 | |
| README.md | Update READMe | |
casefold
A small collection of utility functions and constants for working with strings.
gleam add casefold@2
importcasefold.{casefold}pubfnmain()->Nil{assertcasefold("Ω and ẞ SHARP S")=="ω and ss sharp s"}Further documentation can be found at https://hexdocs.pm/casefold.
Development
gleam build # Build the project
gleam test # Run the tests