Search results
22 packages found
Expands string index ranges within whitespace boundaries until letters are met
Convert between native JS string character indexes and grapheme-count-based indexes
Invert string index ranges
Like indexOf but returns array and counts per-grapheme
Crop array of ranges when they go beyond the reference string's length
Iterate string considering ranges, as if they were already applied
Finds where are arbitrary templating marker heads and tails located
Iterate a string and any changes within given string index ranges
Increment or decrement each index in every range
Like String#indexOf() but return all indexes
Checks if a string has required substrings at given indexes.
Checks if a string has at least one prohibited substring at a given index.
Swaps two chars in a string by indexes
String slices by line and column indexes
Split a string at one or more indices
Returns every index o a given character in an string.
Returns an iterator of the keys/indexes of an Object, Map, Array, or Typed Array.
Checks if a string has required substrings at given indexes.
Checks if a string has at least one prohibited substring at a given index.