Skip to content Skip to sidebar Skip to footer
Showing posts with the label Split

Javascript Split Regex Bug In Ie7

I am trying to split with this regex ({[^{}]*}) in javascript and I get different result btw IE7 an… Read more Javascript Split Regex Bug In Ie7

Add "/path/" In The Middle Of An Url In Javascript

How can I effectively add a 'path' to the middle of an URL in JavaScript? I want to add emb… Read more Add "/path/" In The Middle Of An Url In Javascript

Longest Word In Sentence Code Not Working

Can anyone help me solve this. It does not seem to be working properly. It is supposed to find the … Read more Longest Word In Sentence Code Not Working

Split A String To Groups Of 2 Chars Using Split?

I have this simple string : 'a1a2a3' Is there any regex expression which can be used with … Read more Split A String To Groups Of 2 Chars Using Split?

Javascript: Split And Variable Issues

In this code execution here: http://sandrayoon.com/UAI/www3/newpin.php I wrote a JS function that g… Read more Javascript: Split And Variable Issues

Split(/\s+/).pop() - What Does It Do?

Could you translate this expression to words? split(/\s+/).pop() It is in javascript and uses rege… Read more Split(/\s+/).pop() - What Does It Do?