Skip to content

feat(string): add 8 new utility functions#30

Merged
mic1on merged 1 commit into
mainfrom
feature/string-extensions
Mar 14, 2026
Merged

feat(string): add 8 new utility functions#30
mic1on merged 1 commit into
mainfrom
feature/string-extensions

Conversation

@mic1on
Copy link
Copy Markdown
Member

@mic1on mic1on commented Mar 14, 2026

  • trim: remove whitespace or specified chars
  • trim_start/trim_end: trim from start/end only
  • truncate: truncate string with omission string
  • starts_with/ends_with: check prefix/suffix
  • repeat: repeat string n times
  • pad_start/pad_end: pad string to length

With comprehensive unit tests (27 test cases)

- trim: remove whitespace or specified chars
- trim_start/trim_end: trim from start/end only
- truncate: truncate string with omission string
- starts_with/ends_with: check prefix/suffix
- repeat: repeat string n times
- pad_start/pad_end: pad string to length

With comprehensive unit tests (27 test cases)
@mic1on mic1on merged commit 2d0e83f into main Mar 14, 2026
0 of 6 checks passed
@mic1on mic1on deleted the feature/string-extensions branch March 14, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant