Skip to content

Home

Development

IDEs

JAR services

API Explorer

StringFunctions

String class contains functions for manipulating strings; it is based on Apache Common's StringUtils class. This class is for use in both Gloop and Groovy.

Below are sample usages:

Sample service showing how to use the `String` functions

1
2
3
4
assert 'HelloWorldHelloGoodPuppers'.splitCamelCase().equals('Hello World Hello Good Puppers')

def string = 'Super secret string'
assert string.encrypt().decrypt().equals(string)