forked from starnakin/IronGOLEM
10 lines
95 B
Plaintext
10 lines
95 B
Plaintext
|
strlen(str) {
|
||
|
local i;
|
||
|
i = 0;
|
||
|
loop {
|
||
|
if ([str + i] == 0)
|
||
|
return (i);
|
||
|
i = i + 1;
|
||
|
}
|
||
|
}
|