Free Support Forum -

Replace a string with empty string in PPTX using Aspose.Slides Cloud SDK for PHP

I’m trying to replace a string in a PPTX deck with a empty string ("") using slidesPresentationReplaceTextRequest to replace “from” text with an empty string as “to” text.

Replacement works fine if I have any non-empty string as the “to string”, but it does not work if the to string is “” (zero length).

How do I get this to work?

Quick update, trying to replacing with a space (" “) or string of spaces (” ") or a non-breaking space xA0 doesn’t seem to work also.


We are sorry for your inconvenience. We have noticed the reported issue and logged a ticket SLIDESCLOUD-746 for further investigation and resolution. We will notify you as soon as it is resolved.


Thanks for your patience. Please note your above reported issue has been fixed in Aspose.Slides Cloud 19.9 release. Please try now, it should work. Please feel free to contact us for any further assistance.