Free Support Forum - aspose.com

Alternative for replace method

As paragraph.getRange().replace() is depricated what is alternative for it?
I am using version 17.5

@crimson,

No it is not deprecated. You need to upgrade to Aspose.Words for Java 18.4 and choose appropriate Range.Replace overload. Please see following link and screenshot:
https://apireference.aspose.com/java/words/com.aspose.words/range