SQL PHP HTML ASP JavaScript articles and free scripts to download

JavaScript substring

From a string we can get part of the string by specifying starting and ending position of the substring. This functions is different than substr function. In substr function we used start point and length of the substring required ( not end point ). Let us try with some examples .

my_string= new String("Welcome to plus2net.com");
document.write(my_string.substring(10,15));

The output of above function is plus

Note that one blank space is included in the above output at the left side.
Google+

Noel16-09-2012
How can split an email into parts before(userID) and after (Domain) the @ sign, and then validate to see if each of these parts are valid?
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked




Join Our Email List
Email:  
For Email Newsletters you can trust
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2014 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer