silly question

new topic     » topic index » view thread      » older message » newer message

Hi all, my brains must be off now (or still), because i can't figure this one.
If i
use 

while match(";",title) do 
title = title[1..match(";",title)-1] &" "&
title[match(";",title)+1..length(title)]
end while

then match() is fine. But to look for a atom numerically, i must use find():

while find(9,title) do 
title = title[1..find(9,title)-1] &" "& title[find(9,title)+1..length(title)] 
end while

What difference, other than i can spec a numeric in find(), since i cannot 
enter a "13" as a char from the keybd,, which means i cannot enter a string 
containing a CR either, except as a escaped char? 

At the moment, i don't know why i cannot get my brain around this one,, 
maybe it's too obvious..

Kat

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu