• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

getPageNthWord keeping parentheses even with bStrip NOT set to false

Community Beginner ,
Aug 21, 2018 Aug 21, 2018

Copy link to clipboard

Copied

Hello, when I'm using getPageNthWord, if the word is inside parentheses it keeps a parenthesis attached to the word even with bStrip parameter set to true. And what is strange is that only the "(" opening parentheses are kept, the closing ones are not.  This is problematic because when I want to match the document words with a search it doesn't match. It could be fixed manually by checking if the NthWord contains a parenthesis and removing it with replace() but I think it would slow performance on longer documents ?? Any explanation on this would be very appreciated !

TOPICS
Acrobat SDK and JavaScript

Views

136

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 21, 2018 Aug 21, 2018

Copy link to clipboard

Copied

LATEST

It's strange, but removing the parentheses should not cause any noticable

delay.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines