Displaying 1 to 20 from 39 results

strman-java - A Java 8 string manipulation library.

  •    Java

A Java 8 library for working with Strings. You can learn about all the String utility functions implemented in strman library by reading the documentation. To use strman in your application, you have to add strman to your classpath. strman is available on Maven Central so you just need to add dependency in your favorite build tool as shown below.

left-pad - :arrow_left: String left pad

  •    Javascript

NOTE: The third argument should be a single char. However the module doesn't throw an error if you supply more than one chars. See #28. NOTE: Characters having code points outside of BMP plan are considered a two distinct characters. See #58.

algorithms_and_data_structures - 180+ Algorithm & Data Structure Problems using C++

  •    C++

Note: Some of the code here is old and was written when I was learning C++. It might be possible that code is not safe or making wrong assumptions. Please use with caution. Pull requests are always welcome. Include contains single header implementation of data structures and some algorithms.

Guitar - A Cross-Platform String and Regular Expression Library written in Swift.

  •    Swift

This library seeks to add common string manipulation functions, including common regular expression capabilities, that are needed in both mobile and server-side development, but are missing in Swift's Standard Library. The full documentation can be found at http://www.sabintsev.com/Guitar/.




shell-functools - Functional programming tools for the shell

  •    Python

A collection of functional programming tools for the shell. This project provides higher order functions like map, filter, foldl, sort_by and take_while as simple command-line tools. Following the UNIX philosophy, these commands are designed to be composed via pipes. A large collection of functions such as basename, replace, contains or is_dir are provided as arguments to these commands.

magic-string - Manipulate strings like a wizard

  •    Javascript

Suppose you have some source code. You want to make some light modifications to it - replacing a few characters here and there, wrapping it with a header and footer, etc - and ideally you'd like to generate a source map at the end of it. You've thought about using something like recast (which allows you to generate an AST from some JavaScript, manipulate it, and reprint it with a sourcemap without losing your comments and formatting), but it seems like overkill for your needs (or maybe the source code isn't JavaScript).Your requirements are, frankly, rather niche. But they're requirements that I also have, and for which I made magic-string. It's a small, fast utility for manipulating strings and generating sourcemaps.

Twine - String manipulation, leveled up!

  •    PHP

Twine is a simple string manipulation library with an expressive, fluent syntax. Like this project? Keep me caffeinated by making a donation.


cuerdas - String manipulation library for Clojure(Script)

  •    Javascript

The missing clojure(script) string manipulation library.La guitarra, hace llorar a los sueños. El sollozo de las almas perdidas, se escapa por su boca redonda. Y como la tarántula teje una gran estrella para cazar suspiros, que flotan en su negro aljibe de madera.

react-string-replace - A simple way to safely do string replacement with React components

  •    Javascript

See the example/ directory for a runnable example.I wanted an easy way to do string replacement a la String.prototype.replace within React components without breaking React's built in string escaping functionality. This meant standard string replacement combined with dangerouslySetInnerHTML was out of the question.

Diffmark - A simple DSL for string transformation

  •    CSharp

Diffmark is a DSL (Domain-Specific Language) for transforming one string to another.##Syntax A string with no symbols is just added to the end of the base string.

stringz - :100: Zero dependency unicode-aware string tools for NodeJS

  •    Javascript

A really small, performant, zero-dependency, unicode-aware library for working with Strings in Node.js. Javascript has a serious problem with unicode. Even ES6 can’t solve the problem entirely since some characters like the new colored emojis are three bytes instead of two bytes. Sometimes even more! "👍🏽".length returns 4 which is totally wrong (hint: it should be 1!). ES6's Array.from tried to solve this, but that even fails: Array.from("👍🏽") returns ["👍", "🏽"] which is incorrect. This library tries to tackle all these problems with a mega RegExp. Read More Here.

string_theory - Flexible C++11 string library with type-safe formatting

  •    C++

String Theory is a flexible C++11 library for string manipulation and storage. It stores data internally as UTF-8, for ease of use with exiting C/C++ APIs. It can also handle conversion to and from UTF-16 and UTF-32, and has a variety of methods for easier text manipulation. In addition, if your compiler supports it, String Theory includes a powerful type-safe string formatter (ST::format), which can be extended with custom type formatters by end-user code.

text - An efficient packed, immutable Unicode text type for Haskell, with a powerful loop fusion optimization framework

  •    Haskell

This package provides the Data.Text library, a library for the space- and time-efficient manipulation of Unicode text in Haskell. Please refer to the package description on Hackage for more information.

MightyString - Making Ruby Strings Powerful

  •    Ruby

Powerful methods for your strings. Add this to your Gemfile and then run bundle install.

portable-utf8 - Portable UTF-8 library for PHP

  •    PHP

It is written in PHP (PHP 7+) and can work without "mbstring", "iconv" or any other extra encoding php-extension on your server. The benefit of Portable UTF-8 is that it is easy to use, easy to bundle. This library will also auto-detect your server environment and will use the installed php-extensions if they are available, so you will have the best possible performance.

StringiFor - Strings Fortran Manipulator with steroids

  •    Fortran

A KISS pure Fortran library providing astrings (class) manipulator for modern (2003+) Fortran projects. GNU gfortran does not support user-defined-type-IO, thus some class features are disabled if GNU is used.