Skip to main content
DigitalDon15
Participant
February 2, 2019
Question

what is the string replace method

  • February 2, 2019
  • 2 replies
  • 442 views

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 has been closed for replies.

2 replies

Legend
February 2, 2019

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

try67
Community Expert
Community Expert
February 2, 2019

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

DigitalDon15
Participant
February 3, 2019

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.