Variable manipulation
Posted: 26 Mar 2012 03:33
Let say I have 2 variables
now I have to remove contents of var2 from var1
(The desired result in the above example would be var1=you.i'mgr8 )
I have ftied the following but does not work
Please help
Code: Select all
set var1=hello:\how\areyou.i'mgr8
set var2=hello:\how\are
now I have to remove contents of var2 from var1
(The desired result in the above example would be var1=you.i'mgr8 )
I have ftied the following but does not work
Code: Select all
set var1=!var1:!var2!=!
Please help