quocvuongdn

Get part string of email

Oct 10th, 2016
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.15 KB | None | 0 0
  1. -- Get part string of email
  2. SUBSTRING_INDEX(SUBSTRING_INDEX('[email protected]', '@', -1), '.', 1)
  3. SUBSTRING_INDEX(SUBSTRING_INDEX(email, '@', 1), '.', 1)
Advertisement
Add Comment
Please, Sign In to add comment