How to Split a String and get Last Array Element in JavaScript

How to Split a String and get Last Array Element in JavaScript