PDFLayoutTextStripper icon indicating copy to clipboard operation
PDFLayoutTextStripper copied to clipboard

isSpaceCharacterAtIndex

Open Schagalaah opened this issue 6 years ago • 0 comments

return this.line.charAt(index) != SPACE_CHARACTER;

it can happen that index is larger as char array length.

try..catch or test against line.length

I lazy fixed with try... catch and result is ok for me. Better to find out why index is larger as line.length.

Schagalaah avatar Oct 11 '19 09:10 Schagalaah