phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
10
apps/tmp_index_of_test.hako
Normal file
10
apps/tmp_index_of_test.hako
Normal file
@ -0,0 +1,10 @@
|
||||
static box Main {
|
||||
main() {
|
||||
local S
|
||||
using "apps/std/string.hako" as S
|
||||
local r
|
||||
r = S.string_index_of("banana", "na")
|
||||
print("r=" + r.toString())
|
||||
return 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user