Call too all one-liners !

viktoras didziulis viktoras at ekoinf.net
Sat Jun 28 16:53:37 EDT 2008


actually we do not need the second pair of brackets in #1 making it a 
very little bit shorter:
>
> 1. get matchText(myFile,"([^.jpg])$", a);  put 
> replaceText(myFile,"[^.jpg]$",a & ".jpg") into myFile
> 2. replaceText(myFile,".jpg","")
>
> best wishes :-)
> Viktoras



More information about the use-livecode mailing list