Forum Discussion
dexterstu
Apr 21, 2017Nimbostratus
String Trim returning odd results
I am using a variable assign action in an APM policy to remove leading/trailing spaces from the username entered into the logon page.
session.logon.last.username = expr { [string trim [mcget {se...
Stanislas_Piro2
Apr 21, 2017Cumulonimbus
Hi,
Try
expr { "[string trim [mcget {session.logon.last.username}] ]" }
Numbers are converted to integer if you don't add quote
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