npoi icon indicating copy to clipboard operation
npoi copied to clipboard

ReplaceText() wont replace if there s a slash " / " symbol - after the symbol

Open crimsonduelist opened this issue 1 year ago • 1 comments

https://github.com/nissl-lab/npoi-examples/tree/main/xwpf/ReplaceTexts with code in the above example and following template Template1.docx the replace will happen up to the "slash"

Sry, if this is by design this should ve been a question! If not I quickly solved this by changing the innermost if() with a while()

crimsonduelist avatar Mar 09 '23 14:03 crimsonduelist

Related issue: #666

tonyqus avatar Mar 09 '23 22:03 tonyqus