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...
hoolio
Cirrostratus
Jul 22, 2011Hi Brad,
You can just put commands together in a quoted string:
set myVar "[IP::client_addr]:[TCP::client_port]"
For variables you can use curly braces to delineate the variable name:
set myVar "string1${myHost}string2"
Aaron
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