How to use the symbol "&"?

:red:

When loading text from an external text file, we define in that same text file each textfields’s value by doing something like that:

textfield1=this text
&textfield2=that text
&textfield3=another text

Because we use the symbol “&” to “annouce” the contents of ANOTHER text field, it doesn’t work to use something like:

&textfield4=Doing business with Smith&Son is great

The only text that would display would be “Doing business with Smith” because right after that come the symbol &!!!

Is there any way I can use this symbol “&”? :h:

You must urlencode your & character: %26. Otherwise Flash will interpret it as another variable being declared. So your text would look like this:

&textfield4=Doing business with Smith%26Son is great

:slight_smile:

Thanks Voetsjoeba

You save my day! :smiley:

do you know where I can get a listing of the this “URLencodings”?

http://www.w3schools.com/html/html_ref_urlencode.asp :slight_smile: