Rho Rho language and toolchain

std.strings.string

The module module std.strings.string, read from deploy/std/strings/string.rho. This page is generated from the source, so it describes what the code declares.

Functions

ends_with()

fn ends_with(s: String, suffix: String) bool

eq()

fn eq(a: String, b: String) bool

find()

fn find(haystack: String, needle: String) Option[u32]

len()

fn len(s: String) u32

split()

fn split(s: String, sep: u8, out: Slice[String]) u32

starts_with()

fn starts_with(s: String, prefix: String) bool