JSPM

Found 44 results for substr

stringz

Zero-dependency unicode-aware string tools

  • v2.1.0
  • 92.14
  • Published

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
  • 89.23
  • 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
  • 46.75
  • Published

jquery-textrange

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

  • v1.4.0
  • 45.80
  • Published

@uwebpro/substring

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

    • v2.0.2
    • 29.96
    • Published

    substr-polyfill

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

    • v1.0.0
    • 28.56
    • Published

    hanzist

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

    • v0.0.13
    • 26.47
    • 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
    • 26.37
    • Published

    strman.substr

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

    • v2.0.0
    • 25.27
    • 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
    • 24.41
    • Published

    string.prototype.substr

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

    • v1.0.4
    • 22.40
    • Published

    pinch

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

    • v0.1.3
    • 21.85
    • Published

    @pelevesque/supersubstr

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

    • v1.0.3
    • 21.19
    • Published

    slice-lines

    Extract a subset of lines from a string efficiently

    • v1.0.3
    • 21.05
    • Published

    codh

    A collection of data handlers

    • v1.0.9
    • 19.97
    • Published

    quickly-count-substrings

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

    • v1.0.0
    • 19.49
    • Published

    substr-occurrence

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

    • v1.1.0
    • 17.84
    • Published

    dustjs-helper-maxlength

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

    • v0.0.2
    • 16.85
    • Published

    substr-ansi

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

    • v0.0.3
    • 16.74
    • Published

    value-replace

    Replace object values with String.prototype.replace

    • v1.0.0
    • 14.90
    • Published

    mb-substr

    mb-substr - Multibyte substr

    • v0.0.2
    • 14.59
    • Published

    key-replace

    Replace object keys with String.prototype.replace

    • v1.0.0
    • 12.96
    • Published

    substr-word

    Substr that preserves whole words.

    • v1.0.1
    • 11.85
    • Published

    is-subchars

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

    • v0.0.1
    • 10.64
    • Published

    sunhong_cal

    这是一个计算器

      • v1.0.0
      • 7.26
      • Published

      substr-distance

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

      • v1.0.0
      • 6.11
      • Published