Log in

View Full Version : How to read a selection of text from..?



humbie
06-07-2012, 09:52 PM
I am sure this is possible, I cant seem to find the right function for this.:duh:

How can I get simba to read a text file/text source containing a list of text (ex : text1, text2, text3 etc) and take a string text without the commas or spaces then typing/displaying it out.

I am trying to make it in sequence, so once it prints out the first string it will move on to the second one etc. If im not mistaken I need to make a var for the strings?

weequ
06-07-2012, 09:58 PM
Try the explode function in String functions. It will turn a String to an Array of Strings ignoring the glues (',', ' ', chr(13) or whatever glue you wish to use). I don't have simba on this computer so I can't show you a good example.