Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Authorware
MacroMedia AuthorWare
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Authorware :
product's home
product's list home
 
  Archived TallyList / Authorware: 
Subject: Re: aw52: Replace several special charcters in a hotspot-interaction(WordClicked)
Charles Rholl (103p/+0r)     Posted: Friday 29 Dec 2000
This post: 132 views, +0 rating

OK, Ole, let me try again,

I think all you need to do is use the Replace function one time for each character. The Replace function replaces ALL occurrences of the specified character, so,

word_clicked := WordClicked word_clicked := Replace("æ"; "ae"; word_clicked) word_clicked := Replace("ø"; "oe"; word_clicked) word_clicked := Replace("å"; "aa"; word_clicked)

should do the job.

If you need to replace a lot of characters (more than 6 or 8), you could create a list (or lists) of the characters and replacers and then do a repeat loop:

characterList := ["æ", "ø", "å"] replacerList := ["ae", "oe", "aa"]

word_clicked := WordClicked

repeat with i := 1 to ListCount(characterList) word_clicked := Replace(characterList[i]; replacerList[i]; word_clicked) end repeat

HTH

Charles Rholl TOTO Multimedia

-- The AWARE List http://www.e-media.nl/aware/index.html

Search the Archives http://www.e-media.nl/aware/search.html

Netiquette: - Use descriptive subject fields - Use subject prefixes (A5 , A5Mac , A5Web , KO , UCD , OT)


Similar Subject Line Posts (+/- two weeks of this post)
Re: aw52: Replace several special charcters in a hotspot-interaction(WordClicked)  29 Dec 2000   (122 v/ +0 r)
SV: aw52: Replace several special charcters in a hotspot-interaction(WordClicked)  29 Dec 2000   (138 v/ +0 r)
Re: aw52: Replace several special charcters in a hotspot-interaction(WordClicked)  29 Dec 2000 (this post)   (132 v/ +0 r)
Re: aw52: Replace several special charcters in a hotspot-interaction(WordClicked)  29 Dec 2000   (68 v/ +0 r)
 

Send a reply to the Authorware list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000