Welcome Guest ( Log In | Register )

> Auto-Replace "&" in "and"
kugelrund
post Jul 26 2006, 12:55 PM
Post #1


Newbie
*

Group: Members
Posts: 2
Joined: 26-July 06
Member No.: 110



Hi All,

first thanks for this nice tool - it works very good.

I export the Songinfo in a "musicinfo.txt" file - it works well
than i want to import the "musicinfo.txt" in a SWF file - it works too but makes problems with some text.

For Example:
in the musicinfo.txt = "Mike & Mechanics - Wonderfull"

But the SWF just shows me "Mike " and nothing more

Is it possible to replace all the "&" with "and" to bcome the right info in the swf like "Mike and Mechanics - Wonderfull"

Thanks from Austria

Robert
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Serge
post Jul 26 2006, 03:05 PM
Post #2


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



Looks like the problem is caused not by &, but by space, you can try using urlencode function ($ue), refer to AMIP help for details.

If the problem is caused by &, then you can replace it with "and" using:
CODE
$strrep(search,replace,subject)
Returns a string with all occurrences of search in subject replaced with the given replace value


It's also described in AMIP help.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: