Home > DeveloperSection > Forums > How to use substring method in jQuery
Mark Devid
Mark Devid

Total Post:102

Points:714
Posted on    September-22-2014 3:15 AM

 .NET JavaScript  JQuery 
Ratings:


 1 Reply(s)
 910  View(s)
Rate this:
Hello i'm want to use substring method in jquery can you help me


Kamlakar Singh
Kamlakar Singh

Total Post:194

Points:1396
Posted on    September-22-2014 3:18 AM

Hi Mark Devid
i'm try to solve your problem
use this code:

$(document).ready(function () {
    var str = "MindStick Software pvt. ltd.";
    alert(str);
    var substr = str.substring(10, 28);
    alert(substr);
});

Don't want to miss updates? Please click the below button!

Follow MindStick