.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Code Snippets >> Javascript >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Get a singal character from string using javascript

Posted By:varun bansal       Posted Date: July 28, 2009    Points: 10    Category: Javascript    URL: http://www.dotnetspark.com  

Get a singal character from string using javascript. suppose that your string is "hari;(5.7%)" now you want to retrive "5.7" from your string "hari;(5.7%)" then use javascript as below.

output is 5.7

Varun Bansal


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend