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...
Colin_Walker_12
Apr 14, 2006Historic F5 Account
Oh, as to your second question, you can try just setting the variable, rather than using concat, if you want to add something in between the two values.
Something like this:
set myVar [IP::client_addr] + ":" + [TCP::client_port]
or
set myVar "[IP::client_addr] : [TCP::client_port]"HTH,
Colin
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