Skip to main content
DigitalDon15
Participant
Feb 2, 2019 4:21 PM UTC
Question

what is the string replace method

I'm new to Adobe's version of javascript.  I can't seem to find, in all the web pages of documentation so far, a simple explanation of Adobe's version of replace for Adobe Acrobat Pro 2017.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Legend
Feb 2, 2019 4:58 PM UTC

If on the other hand you're looking for a method to replace the strings ON THE PAGE, there isn't one.

Translate
try67
Community Expert
Community Expert
Feb 2, 2019 4:35 PM UTC

It's the same as any other JS implementation: JavaScript String replace() Method

Translate
DigitalDon15
Participant
Feb 3, 2019 8:26 PM UTC

Thanks.  Now that I know I have the correct method - thanks for that link - I was able to discover the real problem was there was no definition for replace with an array as the target object.  As soon as I isolated the string element I was able to modify the string.

Translate