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.
-
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. To start contributing, read these contribution guidelines for information on how you should go about contributing to our project.
Check the issue tracker for open issues that interest you. We look forward to receiving your contributions.
All contributors are encouraged to read Ballerina Code of Conduct.
- The [email protected] 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.