s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g e |
go to examples |
g m |
go to modules |
g o |
go to overview |
g r |
go to reference |
h |
toggle this help ( esc also exits) |
string
Strings in Jai are sequences of zero-terminated unsigned 8-bit characters.
Iterate over string and alter characters:
/** from: https://youtu.be/JoNkttD_MUs?t=3248 */
nine_to_five :: (s : ^u8) {
while *s {
if *s == '9 then *s = '5;
s += 1;
}
}
jailang
2019 pixeldroid
https://github.com/pixeldroid/jailang |
programming pages theme v0.5.21 (https://github.com/pixeldroid/programming-pages) |
s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g e |
go to examples |
g m |
go to modules |
g o |
go to overview |
g r |
go to reference |
h |
toggle this help ( esc also exits) |