Replacetext of any characters between parentheses with a space

David V Glasgow dvglasgow at gmail.com
Wed Jun 9 13:17:34 EDT 2021


D’Oh!  

Thanks Paul.  Much appreciated.

Cheers

David G

> On 9 Jun 2021, at 6:10 pm, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list