https://github.com/formulae-org/package-string-js
String package for Fōrmulæ, in JavaScript
https://github.com/formulae-org/package-string-js
concatenation decode-strings encode-strings formulae javascript lowercase replace-text split string substrings trim unicode-characters uppercase
Last synced: 4 months ago
JSON representation
String package for Fōrmulæ, in JavaScript
- Host: GitHub
- URL: https://github.com/formulae-org/package-string-js
- Owner: formulae-org
- License: agpl-3.0
- Created: 2023-04-15T21:37:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-24T04:42:55.000Z (8 months ago)
- Last Synced: 2025-04-02T23:32:10.550Z (6 months ago)
- Topics: concatenation, decode-strings, encode-strings, formulae, javascript, lowercase, replace-text, split, string, substrings, trim, unicode-characters, uppercase
- Language: JavaScript
- Homepage:
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# string-complex-js
String package for the [Fōrmulæ](https://formulae.org) programming language.
Fōrmulæ is also a software framework for visualization, edition and manipulation of complex expressions, from many fields. The code for an specific field —i.e. arithmetics— is encapsulated in a single unit called a Fōrmulæ **package**.
This repository contains the source code for the **string package**. It contains functionallity to manage strings, text and regular expressions.
The GitHub organization [formulae-org](https://github.com/formulae-org) encompasses the source code for the rest of packages, as well as the [web application](https://github.com/formulae-org/formulae-js).
### Capabilities ###
* Visualizations
* Strings
* Text
* Regular expressions
* Reduction
* Concatenation of strings
* Length of a string
* Substring from position to position
* Substring from position, a number of characters
* Substring from position to end
* Index of first occurence of a substring
* Indexes of all occurences of a substring
* Testing whether a string contains a substring or regular expression
* Testing whether a string starts with a substring
* Testing whether a string ends with a substring
* Conversion to uppercase
* Conversion to lowercase
* Replacing the first ocurrence of substring or regular expression
* Replacing all the ocurrences of substring or regular expression
* Trim a string
* Test if a string matches a regular expression
* Split a substring in positions or a delimiter provided as a regular expression
* Reverse of a string
* Encoding a string to a list of unicode points
* Decoding a list of Unicode points to string
* Conversion between strings, text and regular expressions