Wildcard? replaceText, offset?

J. Landman Gay jacque at hyperactivesw.com
Mon Apr 27 02:37:11 EDT 2020

On 4/26/20 1:24 PM, Rick Harrison via use-livecode wrote:
> In the middle-end part of the string I have “(x)” where x represents some integer.
> it could be (4) or (10) or (5) etc.
> I just want to replace the number inside the () with whatever other number I need to.

If there is only a single instance, you could:

   replace "(x)" with "(" & someNumber & ")" in myString

If there is more than one instance then each instance would need a unique character inside the 

Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

More information about the use-livecode mailing list