username - Remove characters after the @ in and email address - ASP.NET -
i remove characters , @ symbol email address create username. somethinghere@email.com become somethinghere can shed light on how please? have googled , cant seem find on subject.
thanks in advance.
string s = "somethinghere@email.com"; string username = s.substring(0, s.indexof('@')); response.write(username);
Comments
Post a Comment