Check for alpha-character prefix

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Check for alpha-character prefix

  • Creator
    Topic
  • #48503
    Femina Jaffer
    Participant

      Hello,

      Does anyone know how one goes about testing for alpha characters in a field?  For example, in PID 18 I need to determine if the prefix is of alpha character or numeric (eg. A0034678 or 00045678.  I am doing this in an xlate.  If it is an alphacharacter I am to continue processing the message; if numeric than do something.

      Thank you.

      fj

    Viewing 1 reply thread
    • Author
      Replies
      • #58797
        Anonymous
        Participant

          Femina,

          There is a tcl command that you can use to test for alpha characters.  You can do it in a translaiton using the string command.

          string is alpha $xlateInVals

        • #58798
          Femina Jaffer
          Participant

            Thanks Greg.  I will give it a try.

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