1
0
Fork
You've already forked casefold
1
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
feat: split_at
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>
2026年05月26日 00:01:04 -04:00
src feat: split_at 2026年05月26日 00:01:04 -04:00
test feat: split_at 2026年05月26日 00:01:04 -04:00
.gitignore Initial commit 2025年11月13日 15:19:35 +01:00
gleam.toml Version 2.1.0 2026年05月24日 08:47:32 +02:00
manifest.toml Update manifest: gleam_stdlib 1.0.2 2026年05月24日 08:46:47 +02:00
README.md Update READMe 2025年12月10日 23:17:38 +01:00

casefold

Package Version Hex Docs

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