Text weaving magic anyone?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dalkin
Posts: 183
Joined: Wed Jul 04, 2007 2:32 am
Contact:

Text weaving magic anyone?

Post by dalkin » Thu May 22, 2008 5:00 am

Hi there,

The manual arrived today! Not that I can find an answer to this at all ... Is it possible to return the input from 4 text fields into a single text field in a designated order?
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.

Nomi
Posts: 19
Joined: Wed Feb 27, 2008 4:08 pm

Post by Nomi » Thu May 22, 2008 5:02 am

put textfield1 & textfield2 & textfield3 & textfield 4 into singletextfield

You would just decide which order you wanted, and if you needed any form of delimiter.

- Noel

dalkin
Posts: 183
Joined: Wed Jul 04, 2007 2:32 am
Contact:

Post by dalkin » Thu May 22, 2008 5:06 am

Gosh, that was swift!! Many thanks
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Thu May 22, 2008 10:09 pm

Eeee, just in case you don't get the fulls scope of what Nomi means...

Code: Select all

put field "field1" & field "field2" & field "field3" & field "field4" into field "finalfield"

Note that in his example you're simply taking 4 variables and placing them into a variable. But if you're in need of taking 4 fields and placing them into a resulting field, the above is what you need.

Post Reply