For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Squeak's avatar
Squeak
Icon for Cirrus rankCirrus
Jan 31, 2020
Solved

Modify APM variable value

Hello, I have a variable that contains a 12 digit numeric value and I want to add a hyphen between the 8th and 9th digits. The variable looks like this at the moment, E.g 109511158543 I ...
  • Stanislas_Piro2's avatar
    Stanislas_Piro2
    Feb 06, 2020

    I guess ;)

     

    here are my tests:

     

    variable assign:

     

    1 - session.custom.source = Text 109511158543 

    2 - session.custom.target = join [scan [mcget {session.custom.source}] "%8s%4s"] "-"

     

    After authenticationI have following variables:

    session.custom.source 109511158543

    session.custom.target 10951115-8543