1 Reply Latest reply on Oct 2, 2007 8:59 AM by jdeline

    replacing the letters in a string

    Level 7
      I have an odd set of fields for properties for my client. Some have multiple
      letters which correspond to a code table. How can I loop through the string
      and replace the letters with words

      For example

      A = central air
      B = ceiling fan
      C = A/C Unit

      If the field looks like 'ABC', it would be outputted to the page as 'central
      air ceiling fan A/C Unit'

      --
      Wally Kolcz
      MyNextPet.org
      Founder / Developer
      586.871.4126