changechar
v1.0.1
Published
A utility function to change charracter of a string's specific index
Downloads
2
Maintainers
Readme
ChangeChar()
A utility function to change charracter of a string's specific index
const ChangeChar = require('ChangeChar')
let a = 'Rayhan'
console.log(ChangeChar(a, 0, 'E'))
// Output: Eayhan
Also can import via es6 import
statement
import ChangeChar from 'ChangeChar'