Slicing a string as a parameter fails.
Closed this issue · 0 comments
dplassgit commented
f:proc(s:string) { println s[0:2] }
f('first')
should print fi
but it prints the empty string.
Closed this issue · 0 comments
f:proc(s:string) { println s[0:2] }
f('first')
should print fi
but it prints the empty string.