Remove bytes from a string
strdel( string[], start, end )
Remove some characters from a string
string | String to be manipulated |
start | Position of first character to be removed |
end | Position of last character to be removed. Must be after start |
Returns 1 if successful.
Returns 0 on error.
new s{20} = "CatDogAnt"; strdel(s, 3, 6); // returns 1 // s is now "CatAnt"