Trimming middle name to middle initial

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Trimming middle name to middle initial

  • Creator
    Topic
  • #52306
    Tom Arrowsmith
    Participant

      Can someone give me the tcl statement I can use within an xlate to trim a middle name to leave just the first initial?

      Thanks!

    Viewing 2 reply threads
    • Author
      Replies
      • #73744
        Charlie Bursell
        Participant

          set mi [string index $mn 0]

        • #73745
          James Cobane
          Participant

            Tom,

            Assuming you are doing this in an Xlate, then the tcl fragment you can place on the COPY statement is:

               set xlateOutVals

              0]]

              Hope this helps.

              Thanks,

              Jim Cobane

              Henry Ford Health

            1. #73746
              Tom Arrowsmith
              Participant

                Thanks, Jim. Worked great!

                Tom

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