Skip to content

Core.String

Provide UTF-8 string APIs with predictable cost.

  • String.Len(string text) -> i64
  • String.IsEmpty(string text) -> bool
  • String.Contains(string text, string needle) -> bool
  • No hidden expensive behavior in cheap-looking calls.
  • Allocation behavior should be explicit in API docs.