Reviews US Money Reserve research paper Motivational Quotes  ServicesListed.com Free cell phones   Custom Writing
Try the best slots i found online, you will love it!
Nishanth's Blog | Javascript for replacing n th character in a string

Javascript for replacing n th character in a string

by Nishanth 2. April 2009 04:41
   
Javascript for replacing n th character in a string:
 
 
function RepalceCharacter(sourceString,stringTobeReplaced,index)
{
    var re = new RegExp('^(.{'+ --index +'}).(.*)$','');
    return sourceString.replace(re,'$1'+stringTobeReplaced+'$2');
};
 
//Test code 
alert( RepalceCharacter('nishanth','XSSSSX',3) ); 

Comments

4/11/2011 6:08:55 PM #

Ugg boot is a legendary brand, you can't understand why it has a ugly and cunbersome appearance when you have first glimpse of her.But it has been a popular boot in the Eurasian land, now popoular wind blowing all over the world today.The guide of this wind is Euramerian stars.

skate shoes on sale People's Republic of China

5/10/2011 2:06:47 AM #

Hey There. I found your blog using msn. This is an extremely well written article. I’ll make sure to bookmark it and return to read more of your useful information. Thanks for the post. I’ll certainly return.

jetoane poker United States

5/10/2011 10:22:21 PM #


thanx for such a useful post abount commenting and technique to drive traffic..

Pariuri online United States

5/11/2011 1:35:49 AM #


Very interesting post - Might be old new, but it was new to me.

poker online United States

5/11/2011 1:36:16 AM #

Thank You! This is reaally useful!!

american poker 2 United States

5/11/2011 8:09:52 PM #

Your website give me very effective information. I want to say thanks to those peoples who contribute to this post. thanks. please keep posting

jucarii ieftine United States

5/25/2011 12:30:18 AM #

Thank You! This is reaally useful!!

Biletul zilei fotbal United States

5/25/2011 12:30:51 AM #

Very interesting post - Might be old new, but it was new to me.

battle strikers United States

6/20/2011 12:26:09 AM #

Your website give me very effective information. I want to say thanks to those peoples who contribute to this post. thanks. please keep posting

fulltilt poker review United States

8/4/2011 8:47:41 AM #

Great tutorial. I used it on my insurance auto website and it worked like a charm! Thanks a lot!

assurance auto pas cher Brunei Darussalam

8/9/2011 12:10:08 AM #

I will use this tutorial for my placement financier site. It will be really useful for an script I use in it.

placement court terme France

8/22/2011 10:00:11 PM #

Hey !

Real good movie but i find that now some of the stuff coming out are remakes and that they need new stories to make people excited about watch it ...

Peter

8/23/2011 8:07:58 AM #

Simple enough, i'll do that right now to see how it works.

bijuterii argint Taiwan

8/23/2011 8:09:05 AM #

Your tips always come in handy. I want to thank you for that.

blugi dama Taiwan

8/28/2011 8:50:57 AM #

Nous apprendrons ici de vos choses caract�ristiques

riad a marrakech France

9/14/2011 12:51:56 PM #

location riad Marrakech France

9/14/2011 1:19:46 PM #

Marrakech immobilier France

9/16/2011 1:14:15 AM #

Hello,

Great Blog keep it up

Steve

10/2/2011 3:09:40 AM #

Hi,
Nice Blog great info.
By the way i found a site were you can see any Free movie and tv show from all over the world no more (Sorry, currently our video library can only be watched from your current location)  Check it out at www.kewltv.net

Later People..

{Ron

11/6/2011 12:13:02 PM #

I genuinely appreciate looking at on this maze locale , it houses splendid informs .

Marrakech France

11/10/2011 12:24:46 AM #

Perhaps you will need to pay ordinary bills that you simply are having trouble paying as a result of outrageous gas and grocery rates which include your rent or mortgage, electricity, water, automobile payment, cellular phone bill, or other monthly payments

scene games United States

11/12/2011 11:05:28 AM #

Retain up the large assemble of work, I comprehend few points on this internet spot plus I accept that your tangle spot is rattling interesting plus has cliques of exquisite knowledge.

Voyage Marrakech France

12/14/2011 6:29:38 PM #

This Javascipt will be very useful for me. I have been encountering problems in my script because I can't figure out this code. It's a good thing I read your post about this one. Thanks a lot!

cheap business class tickets to india United States

12/14/2011 6:29:45 PM #

This Javascipt will be very useful for me. I have been encountering problems in my script because I can't figure out this code. It's a good thing I read your post about this one. Thanks a lot!

cheap business class tickets to india United States

12/18/2011 5:22:37 PM #

Thanks on your marvelous posting! I quite enjoyed reading it, you can be a great author.I will be sure to bookmark your blog and definitely will come back later in life. I want to encourage that you continue your great work, have a nice day!
We absolutely love your blog and find the majority of your post\'s to be just what I\'m looking for. Does one offer guest writers to write content to suit your needs? I wouldn\'t mind writing a post or elaborating on most of the subjects you write with regards to here. Again, awesome site!
My partner and I stumbled over here by a different website and thought I may as well check things out. I like what I see so i am just following you. Look forward to going over your web page repeatedly.
I love what you guys are up too. This kind of clever work and reporting! Keep up the good works guys I\'ve incorporated

chandler

12/22/2011 3:31:09 AM #

Are you winner? I\'ve always dreamed of winning the bingo. Buy card for lottereynye a few pieces a week, and never won! BUT I bought a ticket online lotto and win $ 1800 - and was very happy! You never know where you win.

XluckWinnerz

12/25/2011 11:28:35 PM #

Really informative bless you, I presume your current audience could perhaps want far more blog posts along these lines continue the great content.

Bobbie Zeltmann United States

1/3/2012 2:11:18 AM #

Thanks Joe. Everyone back at the nest appreciates your support and hope that you will be equally satisfied with the next set of releases we have coming up Smile

Neuigkeiten United States

1/6/2012 8:42:53 PM #

Yea Alice I ll keep you posted I ll let you know if and when we go to print so you can sign on if you want to.

lesbian sex archives United States

1/7/2012 5:07:42 AM #

I've been browsing online greater than three hours lately, yet I never discovered any fascinating article like yours. It is lovely price sufficient for me. In my view, if all site owners and bloggers made excellent content material as you did, the web might be much more helpful than ever before.

link building United States

1/11/2012 7:31:39 AM #

I kind of though that mobile would be spared of viruses but I guess not <br />Technology Blog´s last blog ..How do you get a blog ?

Florida Symeon United States

1/11/2012 4:51:01 PM #

I used hunt-and-peck for the first five years of my news career  then I decided I should learn to touch type. I went to the Salvation Army thrift store in Greenville, North Carolina and bought a manual Underwood from the early 40s and one of those fold-over-the-top typing manuals. I learned in a few weeks to match my hunt-and-peck speed, but never got a lot faster. I believe actually thinking about what I was writing slowed me.

Valentin Munnerlyn United States

1/16/2012 6:49:03 PM #

I've repeatedly refused to give WPShout a Facebook presence, but I'll admit I've been increasingly encouraged by the idea and this *does* look like quite a cool way of doing it. It's quite reasonably priced, too!

Arnette Sheares United States

1/24/2012 5:06:31 AM #

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! Keep up the good work.

Automotive Trends

1/25/2012 2:08:11 PM #

I really had to work hard to get emotion into my query.

chinese news United States

2/1/2012 5:00:36 AM #

Wow. This is great. But what about all those great destinations of workshops?

Sharen Tuter United States

2/2/2012 12:07:58 PM #

Acyually, Victoria married Albert of Saxe-Coburg-Gotha, not Albert of Belgium. Victoria was the last of the Hanoverian monarchs (one of whose members, George III, lost America). The Saxe-Coburgs changed their name to Windsor during the First World War in an attempt to hide their German origins.

Lavette Graceffo United States

2/2/2012 12:11:36 PM #

You should take part in a contest for one of the best blogs on the web. I will recommend this site!

Tracie Sporysz United States

2/4/2012 2:37:34 AM #

It's the second time when i've seen your site. I can gather a lot of hard work has gone in to it. It's actually good.

Winnie Ohlund United States

Add comment




  Country flag

Click to change captcha
biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.6.0.0
Theme by Mads Kristensen


About Me

Nishanth Nair  

 A die hard fan of Rise of Nations... I write few softwares for McAfee Inc. for a living.

 

Portfolio:

http://morningbellnews.com
TheXorb.com
http://Necab.org
http://SufiKatha.com
http://DeepaRecipes.com
http://ManipalFoundation.in
http://NetraArts.com
http‌://EnWebTech.com 

http://homeopathyinchicago.com/


Contact : Nair.Nishanth@Gmail.com 

 

All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer.

Tag cloud

free counters