Skip to main content
Participating Frequently
August 21, 2018
Question

getPageNthWord keeping parentheses even with bStrip NOT set to false

  • August 21, 2018
  • 1 reply
  • 471 views

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 !

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
August 21, 2018

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

delay.