1.0.3 • Published 6 years ago

all-string-methods v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

string-methods

You will all required string operations from this package

1. toCharArray

const STR_METHODS = require("all-string-methods"); const string = "Rohit"; console.log(STR_METHODS.toCharArray(string)); -

Output - 'R', 'o', 'h', 'i', 't'

2. equals

const string1 = "Rohit"; const string2 = "Rohit"; console.log(STR_METHODS.equals(string1, string2)); -

Output - true

3. equalsIgnoreCase

const string1 = "Rohit"; const string2 = "rohIT"; console.log(STR_METHODS.equalsIgnoreCase(string1, string2)); -

Output - true

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago