substr vs substring in Javascript We have these two functions to get the part of the string in JavaScript. But both have slight different usage over each other. We can use any one based on AvinashJanuary 17, 2012Web DevelopmentKeep Reading