0 Replies Latest reply on Dec 20, 2006 8:18 AM by Dry_Ice

    search text field for known words

    Dry_Ice
      I have a glossary of terms using a dynamic text field with the text in an external text file. So far so good. The client wants a row of buttons that are the letters of the alphabet which when pressed will have the text field scroll to that part of the glossary. I got it working but only by hard coding in the line number to jump to for each button. Obviously when the external text file changes the line numbers I hard coded will be off. I need to find a way to search the text field for the first word in each letter's section ( which is known, the glossary starts each letter's section with "A...", "B...", "C...", etc. ) and return the line number. Any thoughts?