Search / replace

Kee Nethery kee at kagi.com
Sun Feb 21 01:07:12 EST 2010


On Feb 20, 2010, at 6:04 PM, Jim Bufalini wrote:

> Kee Nethery wrote:
> 
>> This may not be the fastest but I think it is easy to grok a year later
>> when you are revisiting the code
>> 
>> repeat with x = 0 to 9
>>  replace (x & "[") with (x & "_") in theField
>> end repeat
> 
> Another good and different take, Kee. :-) Just, did you intend to have the
> line:
> 
> replace "[" with empty in theField
> after the repeat loop? 

yes, didn't see that requirement.
kee

> 
> Thanks for sharing Kee and reinforcing again that there is always yet
> another way to do it in Rev!
> 
> Aloha from Hawaii,
> 
> Jim Bufalini
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




-------------------------------------------------
I check email roughly 2 to 3 times per business day. 
Kagi main office: +1 (510) 550-1336





More information about the use-livecode mailing list