|
jjloraine Novice
Joined: 10 Jul 2006 Posts: 30
|
Posted: Fri May 16, 2014 9:59 am
Making a string list from other strings |
Bit of a blonde question, but is there an inbuilt function that'll just let me take the values from a stringlist and add them to a new list? Basically I want to do something like this:
List 1 = All-the-values-in-list-A and All-the-values-in-list-B
List 3 = All-the-values-in-list-A and All-the-values-in-list-C
etc
I can do this with #foralls and stuff, just was wondering if there was a quicker, inbuilt function. |
|
|
|
Fizgar Magician
Joined: 07 Feb 2002 Posts: 333 Location: Central Virginia
|
Posted: Fri May 16, 2014 12:51 pm |
You can use the %concat() function to combine two lists.
Code: |
$list1 = a|b|c
$list2 = d|e|f
$list3 = %concat($list1,"|",$list2)
|
|
|
_________________ Windows Vista Home Premium SP2 32-bit
AMD Athlon Dual Core 4400+ 2.31 GHz
3 GB RAM
CMUD 3.34 |
|
|
|
|
|