1.0.2 • Published 8 months ago

superior-strings v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

A fast,effcient and easy-to-use string library that allows developers to easily edit,modfy and change strings at a whim.

to install the package simply just open a command line and run the command below

npm i superior-strings

Documentation

Basic functions

AddStringToEndOfString

the AddStringToEndOfString function takes in two arguments first being the output string and the other one being the input string this function just puts the input string at the end of the output string and returns it

example

input

console.log(AddStringToEndOfString("Hello World","!"))

output

Hello World!

AddStringToStartOfString

the AddStringToStartOfString function takes in two arguments first being the output string and the other one being the input string this function just puts the input string at the start of the output string and returns it

example

input

console.log(AddStringToStartOfString("Hello World","!"))

output

!Hello World

AddStringToIndexOfString

the AddStringToIndexOfString function takes in three arguments first being the output string and the other one being the input string and the last one being the index where the input string will be put in the output string

example

input

console.log(AddStringToIndexOfString("HelloWorld"," ",5))

output

Hello World
1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago