javascript : String.mid

 

javascript : String.mid(n, m)


Target:

Applicable with String Data Type.


Description :

return m number of charector from string starts from n.



Syntax:

String.mid(n, m)


Usase:

  1. "abcdefghijklmnopqrstuvwxyz".mid(7,5)
    It return string "hijkl"



Download MYJS.js

MyJs is a collection of java script extension methods that enhances the JavaScript objects, class object, DOM element, domElementsCollections, Date, String, Number and other data type. 

Include in you project landing page (master page) and it will extends your DOM and JavaScript Objects.

Comments

Popular posts from this blog

javascript : String.right

javascript : String.left

javascript : .nextAll()