node-string-module
A simple node module that provides methods for string manipulations.
HOW TO INSTALL
npm install node-string-module --save
HOW TO USE
var string = require('node-string-module');
METHODS
# FirstLetterUpperThe ;// Returns 'This Is A Module Written By Me' # RepeatStringThe function repeats the string the number of times specified var result = string.RepeatString('word', 3);// Returns 'wordwordword' # StringEndingThis function returns true if the string ends with a particular string provided var result = string.StringEnding('module', 'e');// Returns true # ReverseStringThis function reverses a string var result = result.ReverseString('hello');// Returns 'olleh' # LongestThis function returns the longest string and its length in a sentence var result = string.Longest('Today is a very wonderful day');// Returns ['wonderful', 9]