Forum Discussion
Yaba_330342
Nimbostratus
Oct 23, 2018Set portion of variable to two seperate variables
Hi guys,
I was asking to manipulate a session variable in APM
There is a variable with full name (something like John Cooper)
Take the last name and set it to session.ad.last.attr.firstname
Take...
Stanislas_Piro2
Cumulonimbus
Oct 24, 2018In tcl, string with space is like a list with space as separator. No need to use split command.
In a variable assign, you can try this
session.ad.last.attr.firstname
lindex [ mcget {session.ad.last.attr.displayname}] 0
session.ad.last.attr.lastname
lrange [ mcget {session.ad.last.attr.displayname}] 1 end
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