Forum Discussion
Michael_Koyfma1
Cirrus
Apr 14, 2006Concatenate two values into one
I need to ocncatenate two values into one variable and separate them by a :
Basically, I need to build a string/variable that looks like clientaddress:clientport. I've tried to enter this i...
brad_11480
Nimbostratus
Jul 22, 2011i get a syntax error trying to do something like:
set myVar [IP::client_addr] + ":" + [TCP::client_port]
wrong number arguments.. i need to do the same.. create a single string without spaces with two constants and a variable
if $myhost is abcd
"string1" $myHost "string2"
so it is string1abcdstring2 would be the result
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects