2 Replies Latest reply on Nov 24, 2008 10:17 AM by (Robert_Tkaczyk)

    [JS] Determine, whether word is hyphenated

    Gerd2
      Hi,
      how can i determine, whether a word is actually hyphenated?

      When a word is hyphenated "between" two linked text frames, the 'words' attribut of both text frames contains this word. I need to have a script which extract the whole text of several textframes, so i need to determine, whether the last word of textframe is hyphenated. Otherwise i will get this last word two times.

      Thanks!
      Gerd