خرید بک لینک

Vote count: 0

i have the function:

//this function takes two params, a string and then the delimiter where the string is to be split up
function substringSplit(str, del){
    var str;
    var del;
    for(var i=0;i<str.length;i++){
        if(!str[i]==del){
            var res = str[i];
            console.log(res);
        }
    }

and what i am trying to achieve is splitting up a string e.g "the house is there" with a delimiter i.e " ", however my code isnt doing this properly!

does any one have any suggestions?

ps the idea is to not use another functions i.e split().

asked 2 mins ago

برچسب: split up string python,split up string matlab,split up string java,split up string excel,split up string javascript,split up string c,split up string,split up string php,split up string bash,split up string ruby, نویسنده: استخدام کار تاريخ: يکشنبه 7 شهريور 1395 ساعت: 3:11

صفحه بندی