in reply to Substring consisting of all the characters until "character X"?
however many characters are between the character at offset 2 and the next space character
my ( $var ) = substr( $fullstring, 2 ) =~ /([^ ]+)/; [download]