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: SV: aw52: Replace several special charcters in a hotspot-interaction(WordClicked)
Ole Kristensen (34p/+0r)     Posted: Friday 29 Dec 2000
This post: 129 views, +0 rating

Thank you, Charles

I'll dive into it :-)

Best regards

Ole Kristensen

-----Oprindelig meddelelse----- Fra: Authorware Professional [mailto:AWARE@LISTSERV.CC.KULEUVEN.AC.BE]PÃ¥ vegne af Charles Rholl Sendt: 29. december 2000 17:46 Til: AWARE@LISTSERV.CC.KULEUVEN.AC.BE Emne: Re: aw52: Replace several special charcters in a hotspot-interaction(WordClicked)

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)

-- 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)
SV: aw52: Replace several special charcters in a hotspot-interaction(WordClicked)  29 Dec 2000 (this post)   (129 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