Skip to content

Overview

Concepts and Principles

Development

Overview

IDEs

API Explorer

Releases

Release Notes

TORO Integrate

Coder Studio

Coder Cloud

Bug Reports

Search

String Methods

String Methods are one-liners that exposes apache StringUtils for string based operations. To view the javadocs go here

These are the different ways of using the String methods:

Using Gloovy Step string method using gloovy step

Using Invoke Step string method using invoke step

Using Gloovy string method using gloovy step on coder

Using Invoke Step string method using invoke step on coder

1
2
3
4
5
6
7
8
//Separates the camel case with space
println "helloWorldFromTORO".splitCamelCase() // prints hello World From TORO

//encrypts a String
String secretSecret = "this is a secret".encrypt() 

//decrypts a encrypted String
String secretMessage = secretSecret.decrypt()