Split function
Monkey Forums/Monkey Bug Reports/Split function| 
 | ||
| 
Function Main()
	Print "".Split(",").Length
End
For C++ this runs fine in debug but in release produces: Building... main.cpp: In function 'int bbMain()': main.cpp:982:16: warning: attempt to free a non-heap object 'null' [enabled by default] 1 Done. Also, would it be possible for Split to return an empty array if input is empty string? |