Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: newbie: stripping character sets out of strings?
From: Muzak
Date: Fri, 22 Dec 2000 21:19:04 GMT

You could use a dummy variable after each line.

&var1=Blah&dummy=1
&var2=Noodles&dummy=1
&var3=X-mas&dummy=1

hth,
Muzak
----- Original Message -----
From: <jmerrillatelftech [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Friday, December 22, 2000 9:12 PM
Subject: FLASH: newbie: stripping character sets out of strings?


>
> OK, my last question for the day, I promise, but its any easy one!
>
> Using loadvariables ("text.txt", ""), I am reading in a text file that has
> returns. i.e.
>
> text=
> &var1=Hello
> &var2=My name is:
>
> etc. I'd rather not have to put all the text in one like this:
>
> text=&var1=Hello&var2=My name is:
>
> How do I strip out the return characters that get loaded in each string? I
> can't find the proper Flash funciton in my manual.
> --Also, would I be stripping out "\r" or would it be "%OD" ?
>
> Thanks!
>
> Jason Merrill



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: newbie: stripping character sets , jmerrill

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]