fthomas / fthomas/refined

Add support for `NonBlankString` and `StrippedString`

Open
#1,171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
1.7k
Forks
152
Avg merge
1h 20m
Merged PRs (30d)
6

Description

Java 11 introduces new methods in `String`: `isBlank` and `strip`. Those methods complement good-old `isEmpty` and `trim` respectively but sometimes are way better suitable for processing locale-specific strings.

It should be fairly easy to capture this functionality in "refined" types like `NonBlankString` and `StrippedString` (that would complement `NonEmptyString` and `TrimmedString` respectively).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.