• Chinna

    You need to REVERSE the string and then look for the first space after the "@".

    John