String
string β API Reference
Section titled βstring β API ReferenceβImport:
std/string.axs
Public Functions (11)
Section titled βPublic Functions (11)β| Function | Signature | Return Type |
|---|---|---|
len | (s: string) | i64 |
eq | (a: string, b: string) | bool |
dup | (s: string) | string |
concat | (a: string, b: string) | string |
char_at | (s: string, idx: i64) | i64 |
find | (haystack: string, needle: string) | i64 |
slice | (s: string, start: i64, end: i64) | string |
from_i64 | (n: i64) | string |
from_buf | (buf: (ptr void), len: i64) | string |
is_empty | (s: string) | bool |
println | (s: string) | void |
Signatures
Section titled βSignaturesβlen(s: string) β i64eq(a: string, b: string) β booldup(s: string) β stringconcat(a: string, b: string) β stringchar_at(s: string, idx: i64) β i64find(haystack: string, needle: string) β i64slice(s: string, start: i64, end: i64) β stringfrom_i64(n: i64) β stringfrom_buf(buf: (ptr void), len: i64) β stringis_empty(s: string) β boolprintln(s: string) β voidFFI Extern Declarations (10)
Section titled βFFI Extern Declarations (10)βThese are private C/system function bindings used internally by the module.
| Symbol | Parameters | Return Type |
|---|---|---|
str_len | string | i64 |
str_eq | string, string | i64 |
str_dup | string | string |
str_concat | string, string | string |
str_char_at | string, i64 | i64 |
str_find | string, string | i64 |
str_slice | string, i64, i64 | string |
str_from_i64 | i64 | string |
str_from_buf | (ptr void), i64 | string |
print_str | string | void |
Auto-generated from std/string.axs by scripts/gen_docs.sh