Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: [flasher] Re: reformat text (was NEED HELP PLEASE!) |
| From: | Patrick Mullady |
| Date: | Sat, 10 Mar 2001 21:06:49 -0000 |
WOO HOO!
Worked like a charm! Thank you so much! You're the best.......I'll send you
the url of what I'm building when I'm done.......Thanx to this list I've
accomplished so much!!!!
ROCK ON!!
Patrick
----- Original Message -----
From: "Helen Triolo" <designer
To: "flasher from chinwag" <flasher
Sent: Saturday, March 10, 2001 6:23 AM
Subject: [flasher] Re: reformat text (was NEED HELP PLEASE!)
> Patrick,
>
> If your input field is sInput and your output field is sOutput, then
> this will work (coded on a button):
>
> on (release) {
> delimiter = chr(13);
> a = sInput.split(delimiter); // makes an array of the words
> sOutput = a.join(" "); // joins the array elements into a
> string
> }
>
> Regards,
> Helen
> -------------------------------------------------------------------
> 1240 Flash Answers from 424 people: http://i-technica.com/flashlist
>
> Patrick Mullady wrote:
> >
> > I have an dynamic input field where the user will type in text that will
> > have returns in it like so
> >
> > This
> > is
> > my
> > text
> >
> > I would like to display that inputted text in another field as one line
with
> > spaces between the returns like so
> >
> > This is my text
> >
> > Any ideas on how to do this?
> >
> > Thanx.......
> >
> > ReTrOpUnK
> > Digital Artist
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The Chinwag site carries a wealth of Flash resources.
> Find useful links, suggested reading and archives at:
>
> ** http://www.chinwag.com/flasher **
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> You are subscribed to flasher as: pat
> To unsubscribe, email leave-flasher-485563L
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

