Silly string question
BlitzMax Forums/BlitzMax Beginners Area/Silly string question
| ||
Hi its me again :/ Im using strings and Im new in BMax. I was wondering if strings are objects or a simple type? If its a object where can I found its methods and properties? I tryed to find but dont get anything, just some functions like Mid, Trim etc, but functions not method... Thanks in advance |
| ||
look for it on the right side tabs under Home->Help->language->strings |
| ||
In the help docs in maxide, under Language->Strings is what you're looking for. Strings are objects and can be treated as such (put in tlists for example), they have methods (things like trim and replace, ToUpper, etc.). They also act as arrays so you can use Slices with them (Language->Slices) so some methods you'd like might not be there as you expect them, but via slices you can probably get what you want... |
| ||
Thanks a lot guys do you guys know any BlitMax book? |
| ||
http://www.truplo.com/blitzmaxbeginnersguide/ |
| ||
That version of the tutorial does not have any code indentation. You might find the wikibook easier than the documentation http://en.wikibooks.org/wiki/BlitzMax |