1.0.3 • Published 5 years ago

all-string-methods v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago