Skip to content

Library for string operations in EO programming language

License

Notifications You must be signed in to change notification settings

InnoSWP/eo-strings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eo-strings

EO principles respected here License Qulice Unit tests
This is a collection of objects for string operations for EO

How to use

Import function from the library with +alias org.eolang.txt.function and use the imported function in the code.

Feature list

The library implements a list of functions:

  • capitalize string
    Converts the first character of string to upper case.
  • compare a b
    Compares a and b strings and returns 1 if a is greater than b, 0 if they are equal, -1 otherwise
  • concatenate a b
    Concatenates a and b and returns the resulting string
  • is-alphabetic string
    Returns true if all of the the characters in string are alphabetic (Analog of Character.isAlphabetic in Java)
  • is-lowercase string
    Returns true if all of the the characters in string are in lower case (Analog of Character.isAlphabetic in Java)
  • swap-case string
    Replaces all the lower case characters in string with upper case counterparts, and vice versa

How to install

The library is designed to be integrated in the base EO, and will be automatically downloaded during project compilation.

How to Contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Maven build:

mvn clean install -Pqulice

You will need Maven 3.3+ and Java 8+.

About

Library for string operations in EO programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages