s.split with TITLE don’t work? [duplicate] April 11, 2022 by Tarik var title="designperks's Instagram Profile"; s= title.split("'"); console.log(s[0]) // required output check this.