---
title: "How to use substring method in jQuery"  
description: "How to use substring method in jQuery"  
author: "Mark Devid"  
published: 2014-09-22  
updated: 2014-09-22  
canonical: https://www.mindstick.com/forum/2269/how-to-use-substring-method-in-jquery  
category: ".net"  
tags: ["javascript", "jquery"]  
reading_time: 1 minute  

---

# How to use substring method in jQuery

Hello i'm want to use [substring](https://www.mindstick.com/articles/12309/how-to-check-if-a-string-contains-a-substring-in-sql-server) [method in jquery](https://www.mindstick.com/forum/156655/trim-method-in-jquery) can you help me

## Replies

### Reply by Anonymous User

Hi Mark Devidi'm try to solve your problemuse this code:\

```
$(document).ready(function () {    var str = "MindStick Software pvt. ltd.";    alert(str);    var substr = str.substring(10, 28);    alert(substr);});
```


---

Original Source: https://www.mindstick.com/forum/2269/how-to-use-substring-method-in-jquery

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
