Call too all one-liners !

Éric Miclo eric.miclo at wanadoo.fr
Sat Jun 28 05:40:19 EDT 2008


Sorry, 2 lines.

vThe FileName is the variable containing the file name

if vTheFileName ends with ".jpg" then put empty into char (the number  
of chars in vTheFileName - 3) to (the number of chars in vTheFileName)  
of vTheFileName
else put ".jpg" after vTheFileName

Best,

ÉrIC

Le 28 juin 08 à 11:25, Francis Nugent Dixon a écrit :

>
> Hi from Paris,
>
> You guys have always spoofed me with what you can do with
> Transcript. Some of your coding makes me look silly.
> I obviously don't "grab" Transcript like you do !
>
> So I have a little test for you. I want to :
>
> 1 -add
> 2 -remove
>
> a ".jpg" suffix from a file name that I'm holding in a variable.
>
> Have you got a couple of one-liners to do that ?
>
> With Thanks
>
> -Francis
>
> _______________________________________________
> 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
>

-- My NeXT computer will Be a Mac too! --





More information about the use-livecode mailing list