A***@adobeforums.com
2007-01-10 13:48:48 UTC
Hello,
I need to do such thing: replace a range of characters in TextFrame.Contents between start index and end index with another string. Lengths of these two string may vary.
For example:
Replace characters between 2 am 4 in TextFrame.Contents = "initial string", with string "REPLACEMENT". Result must be "iREPLACEMENTial string".
Can anybody, please, tell me how to do this?
I need to do such thing: replace a range of characters in TextFrame.Contents between start index and end index with another string. Lengths of these two string may vary.
For example:
Replace characters between 2 am 4 in TextFrame.Contents = "initial string", with string "REPLACEMENT". Result must be "iREPLACEMENTial string".
Can anybody, please, tell me how to do this?