on stripExten str
all = str.length
some = all-4
return str.char[1..some]
end
then use
put stripExten("[EMAIL PROTECTED]")
-- "[EMAIL PROTECTED]"
hth
-Buzz
At 6:02 PM +0000 3/8/02, you wrote:
>Hi all, desperate for help.
>
>Ive got an email address combined with an extention ".txt"
>Ie:
>
>[EMAIL PROTECTED]
>
>
>
>
>how do I parse this to STIP the ".TXT" off.
>
>Thanx....
>Ive been sat here hours..
>
>JAYP
>
>
>
>
>
>[To remove yourself from this list, or to change to digest mode, go
>to http://www.penworks.com/lingo-l.cgi To post messages to the
>list, email [EMAIL PROTECTED] (Problems, email
>[EMAIL PROTECTED]). Lingo-L is for learning and helping with
>programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]