|
vashaka Newbie
Joined: 24 Apr 2007 Posts: 4
|
Posted: Tue Apr 24, 2007 10:20 pm
Want to reformat into a stringlist |
Hi,
Im very new to this scripting and have been able to tackle most of my issues on my own except this one. I am very stumped. This is what I would like to be able to do.
#VAR toStore %pathfrom( ,250)
this of course stores a path to toStore in this format .2ne4sw
what I would like to do is have it converted into a stringlist so it looks like
n
n
e
s
s
s
s
w
Can anyone help me out with this? Would very much appreciate it. Thanks. |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Apr 24, 2007 10:23 pm |
Luckily for you, there's a simple function that'll do this for you.
#var toStore %pathexpand(%pathfrom(,250)) |
|
|
|
|
|