开发者

How can i remove an email from an string using a String class>

Which string class is to use when we want to remove an email address from a string.

need hel开发者_如何学Gop and i am a newbie in java.

thanks


You can use the String class. It has a few methods which are helpful, such as replaceAll, and replaceFirst.

You'll need a good regular expression to capture the email address part of the String. This might be helpful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜