Flasher Archive

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

Subject: FLASH: newbie: stripping character sets out of strings?
From: jmerrill
Date: Fri, 22 Dec 2000 20:32:26 GMT

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.

&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" ?


Jason Merrill
Multimedia/Courseware Developer @ ELF, Issaquah, WA
SerengetiUS.com - "Where Law Does Business"

Seattle Macromedia Authorware User's Group

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

  RE: FLASH: newbie: stripping character s, Phillip Kerman
  Re: FLASH: newbie: stripping character s, Muzak

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