This String utils library is one of the standard libraries of Ballerina language.
For more information on all the functions supported by the stringutils
, which includes the below mentioned functions, see API Docs.
Please note that these functions are different from what is provided by [lang.string] (https://ballerina.io/swan-lake/learn/api-docs/ballerina/lang.string/index.html) module.
contains
equalsIgnoreCase
hashCode
lastIndexOf
matches
replace
replaceAll
replaceFirst
split
toBoolean
For a quick sample on demonstrating the usage see Ballerina By Example.
Issues and Projects tabs are disabled for this repository as this is part of the Ballerina Standard Library. To report bugs, request new features, start new discussions, view project boards, etc. please visit Ballerina Standard Library parent repository.
This repository only contains the source code for the module.
-
Download and install Java SE Development Kit (JDK) version 11 (from one of the following locations).
-
To build the library:
./gradlew clean build
-
To debug:
./gradlew clean build -PdebugBallerina=<port>
-
To build the module without the tests:
./gradlew clean build -PskipBallerinaTests
As an open source project, Ballerina welcomes contributions from the community.
For more information, go to the contribution guidelines.
All contributors are encouraged to read Ballerina Code of Conduct.
- The ballerina-dev@googlegroups.com mailing list is for discussing code changes to the Ballerina project.
- Chat live with us on our Slack channel.
- Technical questions should be posted on Stack Overflow with the #ballerina tag.