findtext(Haystack,Needle,Start=1,End=0)
findtextEx(Haystack,Needle,Start=1,End=0)
copytext(T,Start=1,End=0)
you will get a runtime error about index out of bounds or something. However, wouldn't it make sense that if the value '0' is the position of the last character of any string...that a value such as -1, could be the position right before the last character?
It'd save a lot of effort in parsing things, I think, instead of having to length() things to get the position of where something ends, especially if you know you only need the last x amt of characters from the string.
var/x = "dantom is cool"
copytext(x,-4,0) //ALOT simpler than
copytext(x,length("dantom is")+2,0)
copytext(x,length(x)-3,0)