Strings

Meta: this page is mostly a method reference. Group by what you do with it; don't try to be exhaustive — link to Standard library reference for the full signatures.

Construction

Conversion

Inspection

Strings have no .length / .isEmpty methods — those are list methods (Collections). Use the predicates below.

Case

Trim and pad

Split / replace

Future: regex

Meta: see regexp.md for the planned Regexp scalar, Match object, and containsMatch/match/matchAll/replaceMatches/rewriteMatches/splitMatches family. Add a section here when it lands.