View previous topic :: View next topic
|
Author |
Message |
ruodeer
New User
Joined: 06 Jul 2007 Posts: 58 Location: home
|
|
|
|
Hi all, I have a requirement as following:
Var1,Var2 is a Variable here,
if Var1=xx.yy.z I want Var2 to be "' xx.yy.z'" ,how to CODE FOR Var2?
is there some code like Var2="' +Var1 +'"....
Could any friends here help me out ?Many thanks!~ |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Ruodeer,
May be this is what you want -
Code: |
var1 = xx.yy.z
var2 = "'"var1"'"
say var2 |
OP:
|
|
Back to top |
|
|
ruodeer
New User
Joined: 06 Jul 2007 Posts: 58 Location: home
|
|
|
|
Hi murmohk1, thanks for your kindly reply .
that was what I wanted... |
|
Back to top |
|
|
|