Answers for "slice string javascript if has @"

0

slice string javascript if has @

let email = '[email protected]'
let localPart = email.slice(0,email.indexOf('@'));
Posted by: Guest on April-12-2021

Code answers related to "slice string javascript if has @"

Code answers related to "Javascript"

Browse Popular Code Answers by Language