Texting someone to dump them has to be the most gutless and callous way of doing it!!! (apart from getting a friend to do it). But to be fair it's not just boys that do it. Your friend is obviously better off without him.
I hope your friend is OK.
I hope your friend is OK.