At this point, I don't actually text. The closest thing to it is the instant messaging and that can be fun. My practice on how I take on rude behaviors in real time stands the same in the tech world. I would immediately discipline the sender without any hesitation. What one person call vulgar may not be so to another so there is a fine line on how to approach this.
To me foul words are foul words. Filter preferences helps out a lot to prevent experiencing these uncomfortable moments. To bad we can't mute inappropriate text messages yet.