I have a string like this,
var str = " This is a ?sample? text to ?extract? question marks separated texts into an array in ?Javascript?. "
I want a javascript array as below,
arr = {
'sample',
'extract',
'Javascript'
}