plexis-js / plexis

Lo-fi, powerful, community-driven string manipulation library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: `tail / rest / last / pop`

vorillaz opened this issue · comments

Extracts the last length characters from the input text.

  tail(); // => ''
  tail('Hello'); // => 'o'
  tail('Hello', 2); // => 'lo'
  tail('Hello', 100); // => 'Hello'

Aliases

import tail from '@plexis/tail';
import {tail, rest, last, pop} from 'plexis';

Can I work on this issue?