This package has been deprecated

Author message:

Deprecating package

replace-at

1.0.0 • Public • Published

Replace At

A much needed JavaScript function when dealing with strings

Install

$ npm install replace-at

Usage

const replaceAt = require('replace-at');

replaceAt('Hello  $, how are you?', 6, 'world');
// Hello world, how are you?

replaceAt('Replace this inline', 6, 'ing this inline replaces multiple characters', {inline: true});
// Replacing this inline replaces multiple characters

Examples

See test.js for examples

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i replace-at

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • drewthoennes