• Hi Tom

    I have the assumption that only one hyphen will be in the string, but if the case was

    xyz-1-2.3-2

    then 2 would be the right answer...

    To sharpen a little: "The integer to the right of the last hyphen in the string"

    /T