replacing quotes around data elements

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf replacing quotes around data elements

  • Creator
    Topic
  • #53139
    Tim Gobbel
    Participant

      I am doing a VRL for the first time and have gotten to where most is working but the data comes thru with the quotes attached.  I have searched the archives and tried string map in several different ways.  I think I am getting my lists and brackets mixed up. this is in a pre-proc in an Xlate.  Here is what is not working.  Any thoughts?

      set dob [lindex $xlateInVals 0]

      echo $dob

      set dob1 [string map

        $dob]

        set xlateOutVals

        Thanx!

    Viewing 1 reply thread
    • Author
      Replies
      • #76696
        Charlie Bursell
        Participant

          set dob [string map

            [lindex $xlateInVals 0]]

            set xlateOutVals

        • #76697
          Tim Gobbel
          Participant

            Thanx Charlie!  I also got some help from Jim K.  Yinz guys are the greatest (Picksburgeze!)

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