The OP probably wants to find the last index of the comma... ;)