Subscribe to Subscribers
Talk to Webmaster Tony John

Online Members

More...

Forums » .NET » JavaScript »

Urgent


Posted Date: 13 Mar 2008      Posted By:: Murugapandian     Member Level: Bronze    Member Rank: 0     Points: 2   Responses: 1



In the string MyFriend is Betsy Ann Savage, Capture the first name and last name and display them in reverse as Savage,Betsy.

Can anyone give me the code for this scenario.

I want code in Javascript




Responses

#225297    Author: Abhishek Arya      Member Level: Gold      Member Rank: 21     Date: 05/May/2008   Rating: 2 out of 52 out of 5     Points: 2

i won't able to give you code but there is an exanple of javascript for substring you can use that
http://www.w3schools.com/jsref/jsref_substring.asp



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : Reverse Order
Previous : Fixed header for grid view
Return to Discussion Forum
Post New Message
Category:

Related Messages
Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.