I would like preserve dots using split function.
string exemple :
var str = "oqisjdf qosdifjq. fqs and the, fo. osidfo tchim cth."
If I use str.split('.'), I'll obtain :
["oqisjdf qosdifjq", " fqs and the, fo", " osidfo tchim cth", ""]
but this is what I need :
["oqisjdf qosdifjq.", " fqs and the, fo.", " osidfo tchim cth."]