Removing Leading Characters

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Removing Leading Characters

  • Creator
    Topic
  • #55116
    RUDY RAMOS
    Participant

      I am getting a physician code on PD1 4.1 that begins with Characters and I need to remove the leading characters. I am using an Xlate, who can assit on this?

      Example NS5000  Need to only pass 5000. The codes could be NS or SP.

    Viewing 2 reply threads
    • Author
      Replies
      • #84150
        Jim Kosloskey
        Participant

          I sent you a proc via email that does this from either end or both ends depending on provided arguments.

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #84151
          RUDY RAMOS
          Participant

            Jim, sorry to bother you, but can you call me, I am not sure what I am doing wrong.

          • #84152

            Try this:

            # Example data: NS5000  

            Code:

            set xlateOutVals [list [string range [lindex $xlateInVals 0] 2 end]]

            -- Max Drown (Infor)

        Viewing 2 reply threads
        • The forum ‘Cloverleaf’ is closed to new topics and replies.