common string functions in BMAX?

BlitzMax Forums/BlitzMax Beginners Area/common string functions in BMAX?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks Brucey. I actually noticed this stuff right after I posted that, but I could hardly believe the strangeness of it (especially the "Right" one). I mean, why not create string methods by these names that do the basic math for you and return the slices. Oh well.

Is there a way to add methods to an existing type? I'll do it myself if I can.

The way slices is implemented, it's not consistent.

[X..] means get the values starting with index X
[X..Y] means get values of index X-Y
[..X] means get the first X values (instead of values UP TO index X)