Legacy Dev Forum Posts

 View Only

Sign Up

Script - how to Trim a variable

  • 1.  Script - how to Trim a variable

    Posted 06-05-2025 19:11

    SeowLengNg | 2022-03-31 13:16:06 UTC | #1

    Hi,

    Is there a way to trim a variable in script?

    Example:

    Trim ({{Variable}})

    Best Regards, Charlene


    SimonBrown | 2022-04-19 09:24:30 UTC | #2

    If referring to Architect then you do have LTrim(Variable) and RTrim(Variable) functions to strip either side. Both return a string


    SeowLengNg | 2022-04-20 01:42:19 UTC | #3

    Hi Simon,

    I'm referring to agent script.

    Thanks

    Best Regards, Seow Leng


    system | 2022-05-21 01:43:15 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 14123