Getting some chars from a string?

Richmond Mathewson richmondmathewson at gmail.com
Tue Feb 9 14:12:57 EST 2010


Silly really; replying to my own message again . . . :)
---------------------------------------------------------
I have a series of image names for the type:

f#.png

where # can be a number anywhere between 1 and 6 figures long.

what I need is to extract the number from the image name.

SO, starting with

on mouseEnter
   put the short name of me into NOMEN

................?
--------------------------------------------------------

    delete the last char of NOMEN
    delete the last char of NOMEN
    delete the last char of NOMEN
    delete the last char of NOMEN
    delete the first char of NOMEN

why that never occurred to me before I just don't know.



More information about the use-livecode mailing list