Skip to main content
vijaykumars5676
Participating Frequently
December 29, 2022
Question

Expression Rule

  • December 29, 2022
  • 2 replies
  • 6 views

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
    December 29, 2022

    you can use stripwith or cleanwith func

    Participating Frequently
    December 29, 2022

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

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