Re: Replacing characters in a string
Re: Replacing characters in a string
- Subject: Re: Replacing characters in a string
- From: Allen Watson <email@hidden>
- Date: Sun, 12 Nov 2000 09:54:18 -0800
On or near 11/11/00 2:07 PM, Matthew Fischer at email@hidden
observed:
>
How would I change this:
>
>
repeat with i from ((length of file_name) - 10) to length of file_name
>
if character i of file_name is not ":" then
>
set new_file_name to new_file_name & character i of file_name
>
end if
>
end repeat
>
>
To check for multiple characters, instead of just the colon? What I really
>
want to do is make sure the character is not a colon, a space or an ampersand.
>
If character i of file_name is not in ": &" then
--
Peace be with you!
Allen <email@hidden> XNS Name: =Allen Watson
My web page: <
http://home.earthlink.net/~allenwatson/>