View Single Post
Old Sep 10th, 2005, 12:32 PM   #9
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,890
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Okay. Here it is.

string to integer
var x : string := "4"
put strint(x)+2

integer to string
var x := 4
put intstr(x)+"2"

retrieving parts of a string
put "word"(1)
put "word"(2)
put "word"(3)
put "word"(4)
put "word"(1..4)

That all took a while to figure out... -_@
Sane is offline   Reply With Quote