JSPM

Found 44 results for substr

unicode-byte-truncate

Unicode aware string truncation that given a max byte size will truncate the string to or just below that size

  • v1.0.0
  • 91.85
  • Published

stringz

Zero-dependency unicode-aware string tools

  • v2.1.0
  • 91.40
  • Published

jquery-textrange

A jQuery plugin for getting, setting and replacing the selected text in input fields and textareas.

  • v1.4.0
  • 43.85
  • Published

substr-polyfill

Modular polyfill for substr(-1) for IE browsers. Respectfully modified from MDN and added to a module.

  • v1.0.0
  • 30.87
  • Published

@dcos/copychars

--- 👩‍🔬 Please be aware that this package is still experimental — changes to the interface and underlying implementation are likely, and future development or maintenance is not guaranteed.

  • v0.1.2
  • 21.91
  • Published

@akcybex/jstr

`@akcybex/jstr` is a JavaScript library inspired by [Laravel 'Strings'](https://laravel.com/docs/10.x/strings) offering a chainable API for streamlined string manipulation and facilitating common string operations in javascript with enhanced expressivenes

  • v1.0.20
  • 20.27
  • Published

string.prototype.substr

ES spec-compliant `String.prototype.substr` shim/polyfill/replacement that works as far down as ES3

  • v1.0.4
  • 17.19
  • Published

hanzist

some util function about hanzi. (一些處理漢字的函式工具)

  • v0.0.13
  • 13.68
  • Published

pinch

String.replace but for JavaScript objects (and JSON).

  • v0.1.3
  • 13.67
  • Published

mb-substr

mb-substr - Multibyte substr

  • v0.0.2
  • 13.58
  • Published

codh

A collection of data handlers

  • v1.0.9
  • 13.30
  • Published

slice-lines

Extract a subset of lines from a string efficiently

  • v1.0.3
  • 11.78
  • Published

emojicharstring

[![npm version](https://badge.fury.io/js/emojicharstring.svg)](https://badge.fury.io/js/emojicharstring) [![Build Status](https://travis-ci.org/YingshanDeng/EmojiCharString.svg?branch=master)](https://travis-ci.org/YingshanDeng/EmojiCharString) [![Coverag

  • v0.1.2
  • 11.70
  • Published

substr-ansi

Get the `String#substr` correctly handling ansi escape codes.

  • v0.0.3
  • 10.21
  • Published

strman.substr

The [strman](https://github.com/dleitee/strman) method `substr` exported as a [Node.js](https://nodejs.org/) module.

  • v2.0.0
  • 9.82
  • Published

@pelevesque/supersubstr

Like Javascript's substr, but with wrapping and reversed substrings.

  • v1.0.3
  • 9.41
  • Published

@uwebpro/substring

```js import {substring} from "@uwebpro/substring/substring"; ```

    • v2.0.2
    • 9.11
    • Published

    value-replace

    Replace object values with String.prototype.replace

    • v1.0.0
    • 8.75
    • Published

    quickly-count-substrings

    Fast module for counting the number of occurrences of a substring inside a string

    • v1.0.0
    • 6.45
    • Published

    substr-occurrence

    Gets the number of occurrences of a string or character in a string.

    • v1.1.0
    • 6.22
    • Published

    substr-word

    Substr that preserves whole words.

    • v1.0.1
    • 6.10
    • Published

    key-replace

    Replace object keys with String.prototype.replace

    • v1.0.0
    • 4.99
    • Published

    dustjs-helper-maxlength

    Cut text up to a certain limit, without breaking words and adding ellipsis

    • v0.0.2
    • 4.84
    • Published

    is-subchars

    Predicate that returns true if all characters are found in provided string.

    • v0.0.1
    • 4.61
    • Published

    substr-distance

    Get the distance of a substring from the start of a line

    • v1.0.0
    • 2.77
    • Published

    sunhong_cal

    这是一个计算器

      • v1.0.0
      • 0.00
      • Published