Skip to main content
vijaykumars5676
Participating Frequently
Dec 29, 2022 5:42 AM UTC
Question

Expression Rule

I want to create an expression rule to convert  text.

I have made following rule.

rule input - ":Vijay Shete"

extract(ri!input,":"," ")

output - "Vijay"

How do I get "Vijay Shete" as output?(Just remove the colon at beginning.)

    2 replies

    Known Participant
    Dec 29, 2022 5:48 AM UTC

    you can use stripwith or cleanwith func

    Participating Frequently
    Dec 29, 2022 5:59 AM UTC

    Hi Vijay Kumar, Please try using this code. Hope it helps you

    stripwith(":Vijay Shete",":")