Silly string question

BlitzMax Forums/BlitzMax Beginners Area/Silly string question

vinians(Posted 2010) [#1]
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


Jesse(Posted 2010) [#2]
look for it on the right side tabs under Home->Help->language->strings


ima747(Posted 2010) [#3]
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...


vinians(Posted 2010) [#4]
Thanks a lot guys
do you guys know any BlitMax book?


Perturbatio(Posted 2010) [#5]
http://www.truplo.com/blitzmaxbeginnersguide/


Czar Flavius(Posted 2010) [#6]
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