Replacetext of any characters between parentheses with a space

Paul Dupuis paul at researchware.com
Wed Jun 9 13:10:38 EDT 2021


On 6/9/2021 1:03 PM, David V Glasgow via use-livecode wrote:
> on mouseup
>
>    put field "import" into timport
>
>    replacetext (timport, "(.*)", " ")
>
>    put timport into field "import"
>
> end mouseup

replaceText is a function, not a command, so

on mouseup
   put field "import" into timport
   put replacetext(timport,"(.*)"," ") into field "import"
end mouseup





More information about the use-livecode mailing list