Left() = retro?
BlitzMax Forums/BlitzMax Beginners Area/Left() = retro?
| ||
Hi all! Im trying to get rid of the "BRL.Retro" module in my app. Can someone tell me what the new command for left(), right() and mid() is? I mean a faster function that does the same job? Grisu |
| ||
For Left()Local String1:String = "123456" Local String2:String = String1[..3] Print String2 And for Right() Local String1:String = "123456" Local String2:String = String1[Len(String1)-3..] Print String2 |
| ||
mystring:String="Hello World" Print mystring[..5] Print mystring[6..] ? |