struct str_t

@lang(str)
struct str_t {}
Expand

Struct that implements functions for str_t

Functions§

fn eq(self: &str, other: &str) -> bool§fn len(self: &str) -> usize§
Expand

Gets the length of the string

fn print(self: &str)§
Expand

Prints the string to stdout

fn println(self: &str)§
Expand

Prints the string as well as a new line character ('\n') to stdout

fn substr(self: &str, start: usize, len: usize) -> &str§