PDA

View Full Version : String Insert



RobbyH
02-15-2003, 10:47 AM
How exactly do you use this?
I assume the store result in variable is the existing oe new variable you want to store to, the source string is the string you want to add, and I get the position. What about the text to insert? Where is this placed in the string, and what is it for?

Corey
02-15-2003, 01:14 PM
Robby try it out, see what happens. Experiment. Try inserting a series of O's into a series of X's then you can see exactly what it's doing. It'll take you less than 5 minutes to answer that question. You use this action to insert a string into another string or variable. The text to insert is exactly what it says, "The text you would like to insert using this action" so if you plan to insert a series of O's into a series of X's the O's would be the "text to insert"...

So if you insert "OOO" into "XXX" at position 0 you will have "OOOXXX" as a result.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)