Ok, lets say for example i have a word like "The" and i just want to take the "he" from it and put it in a variable....how would i do this?
thanks
set %var $remove(the,t)
set %var $right(the,-1)
set %var $right(the,2)
set %var $mid(the,2)
ah i see now...thanks for the quick reply
How come when i use this code it only writes on line 1 of the file?
//write -l$mid(12345,3,2) test.txt this is a test
Normal it sould be
//write -l $+ $mid(12345,3,2) test1.txt this is a test , if you want to write to line 34, of course line 34 must exist else only one line is add to test.txt
perfect, exactly what i needed...thx