Go's strings package in TypeScript


Help us add more

Got a rainy Sunday afternoon and a taste for a porting puzzle?

We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.

Upstream Surface Inventory 29/52 shipped • 20 next 56%

Namespace-level inventory for Go 1.23: what we already ship, what we may still want, and what we intentionally skip or keep.

strings

Go 1.23 · Catalog source: live runtime snapshot golang:1.23:strings

59% shipped
29/49 shipped 20 next 3 explicit non-goals
Shipped (29)

Next

Go strings helpers are core portability targets for Locutus.

  • ContainsFunc
  • ContainsRune
  • FieldsFunc
  • IndexByte
  • IndexFunc
  • IndexRune
  • LastIndexByte
  • LastIndexFunc
  • Map
  • SplitAfter
  • SplitAfterN
  • Title
  • ToLowerSpecial
  • ToTitle
  • ToTitleSpecial
  • ToUpperSpecial
  • ToValidUTF8
  • TrimFunc
  • TrimLeftFunc
  • TrimRightFunc
Explicit non-goals (3)
  • Clone Skip A string clone helper adds little value in JavaScript.
  • NewReader Skip Reader objects are not a stable plain-value target.
  • NewReplacer Skip Replacer objects are not a stable plain-value target.

« More Go functions