Forum Discussion
iRule Truncated string concatenation output
Hi DevCentral,
I have a question for you, How i can save in a variable the result of three variables separated by the character ";" without any truncate issue ? If I use the following syntax:
set printout "$variable1;$variable2;$variable3"
and then save the value in a cookie created by the F5, the result save only the first variable of the $printout maybe because the character " ; " was not passed as a string.
Thanks in advance,
M.
1 Reply
- Amit_Karnik
Nimbostratus
Is there a specific reason, you wish to use ';' ? This is a reserved character especially for setting cookie values.
You could use some other character to delimit the 3 values, assuming that is what you are attempting.
If you do need the ';' then attempt to encode it as ';' or '&59'
Best
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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