A tweet-sized, fork-to-play, custom split function implementation, lol. But it is very very slow!
var path = '/home/charlike/dev/kdf/templates/index.js';
var _split = function(a,b){var c=[],d='',i=0,j=0,f;while(i<a.length){f=a[i++];if(f===b){j++;d=''}else{d=d+f;c[j]=d}}if(!c[0]){c[0]=''}return c}
_split(path, '/');
//=> ['', 'home', 'charlike', 'dev', 'kdf', 'templates', 'index.js']