StringUtils

Last updated 2 months ago

Inclusion code:

Service Deployment

Port Name

Location

Protocol

Interfaces

StringUtils

-

-

StringUtilsInterface

List of Available Interfaces

StringUtilsInterface

Interface documentation: An interface for supporting string manipulation operations.

Operation Name

Input Type

Output Type

Faults

leftPad

PadRequest

string

valueToPrettyString

undefined

string

toLowerCase

string

string

length

string

int

match

MatchRequest

MatchResult

replaceFirst

ReplaceRequest

string

sort

StringItemList

StringItemList

replaceAll

ReplaceRequest

string

substring

SubStringRequest

string

getRandomUUID

void

string

rightPad

PadRequest

string

contains

ContainsRequest

bool

split

SplitRequest

SplitResult

splitByLength

SplitByLengthRequest

SplitResult

trim

string

string

find

MatchRequest

MatchResult

endsWith

EndsWithRequest

bool

toUpperCase

string

string

join

JoinRequest

string

indexOf

IndexOfRequest

IndexOfResponse

startsWith

StartsWithRequest

bool

Operation Description

leftPad

Invocation template:

leftPad@StringUtils( request )( response )

Request type

Type: PadRequest

Type documentation: no documentation provided

type PadRequest: string {
.length: int
.char: string
}

Response type

Type: string

Type documentation: no documentation provided

valueToPrettyString

Invocation template:

valueToPrettyString@StringUtils( request )( response )

Request type

Type: undefined

Type documentation: no documentation provided

Response type

Type: string

Type documentation: no documentation provided

toLowerCase

Invocation template:

toLowerCase@StringUtils( request )( response )

Request type

Type: string

Type documentation: no documentation provided

Response type

Type: string

Type documentation: no documentation provided

length

Invocation template:

length@StringUtils( request )( response )

Request type

Type: string

Type documentation: no documentation provided

Response type

Type: int

Type documentation: no documentation provided

match

Invocation template:

match@StringUtils( request )( response )

Request type

Type: MatchRequest

Type documentation: no documentation provided

type MatchRequest: string {
.regex: string
}

Response type

Type: MatchResult

Type documentation: no documentation provided

type MatchResult: int {
.group*: string
}

replaceFirst

Invocation template:

replaceFirst@StringUtils( request )( response )

Request type

Type: ReplaceRequest

Type documentation: no documentation provided

type ReplaceRequest: string {
.regex: string
.replacement: string
}

Response type

Type: string

Type documentation: no documentation provided

sort

Invocation template:

sort@StringUtils( request )( response )

Request type

Type: StringItemList

Type documentation: no documentation provided

type StringItemList: void {
.item*: string
}

Response type

Type: StringItemList

Type documentation: no documentation provided

type StringItemList: void {
.item*: string
}

replaceAll

Invocation template:

replaceAll@StringUtils( request )( response )

Request type

Type: ReplaceRequest

Type documentation: no documentation provided

type ReplaceRequest: string {
.regex: string
.replacement: string
}

Response type

Type: string

Type documentation: no documentation provided

substring

Invocation template:

substring@StringUtils( request )( response )

Request type

Type: SubStringRequest

Type documentation: no documentation provided

type SubStringRequest: string {
.end: int
.begin: int
}

Response type

Type: string

Type documentation: no documentation provided

getRandomUUID

Operation documentation: it returns a random UUID

Invocation template:

getRandomUUID@StringUtils( request )( response )

Request type

Type: void

Type documentation: no documentation provided

Response type

Type: string

Type documentation: no documentation provided

rightPad

Invocation template:

rightPad@StringUtils( request )( response )

Request type

Type: PadRequest

Type documentation: no documentation provided

type PadRequest: string {
.length: int
.char: string
}

Response type

Type: string

Type documentation: no documentation provided

contains

Operation documentation: Returns true if the string contains .substring

Invocation template:

contains@StringUtils( request )( response )

Request type

Type: ContainsRequest

Type documentation: no documentation provided

type ContainsRequest: string {
.substring: string
}

Response type

Type: bool

Type documentation: no documentation provided

split

Invocation template:

split@StringUtils( request )( response )

Request type

Type: SplitRequest

Type documentation: no documentation provided

type SplitRequest: string {
.regex: string
.limit?: int
}

Response type

Type: SplitResult

Type documentation: no documentation provided

type SplitResult: void {
.result*: string
}

splitByLength

Invocation template:

splitByLength@StringUtils( request )( response )

Request type

Type: SplitByLengthRequest

Type documentation: no documentation provided

type SplitByLengthRequest: string {
.length: int
}

Response type

Type: SplitResult

Type documentation: no documentation provided

type SplitResult: void {
.result*: string
}

trim

Invocation template:

trim@StringUtils( request )( response )

Request type

Type: string

Type documentation: no documentation provided

Response type

Type: string

Type documentation: no documentation provided

find

Invocation template:

find@StringUtils( request )( response )

Request type

Type: MatchRequest

Type documentation: no documentation provided

type MatchRequest: string {
.regex: string
}

Response type

Type: MatchResult

Type documentation: no documentation provided

type MatchResult: int {
.group*: string
}

endsWith

Operation documentation: checks if a string ends with a given suffix

Invocation template:

endsWith@StringUtils( request )( response )

Request type

Type: EndsWithRequest

Type documentation: no documentation provided

type EndsWithRequest: string {
.suffix: string
}

Response type

Type: bool

Type documentation: no documentation provided

toUpperCase

Invocation template:

toUpperCase@StringUtils( request )( response )

Request type

Type: string

Type documentation: no documentation provided

Response type

Type: string

Type documentation: no documentation provided

join

Invocation template:

join@StringUtils( request )( response )

Request type

Type: JoinRequest

Type documentation: no documentation provided

type JoinRequest: void {
.piece*: string
.delimiter: string
}

Response type

Type: string

Type documentation: no documentation provided

indexOf

Invocation template:

indexOf@StringUtils( request )( response )

Request type

Type: IndexOfRequest

Type documentation: no documentation provided

type IndexOfRequest: string {
.word: string
}

Response type

Type: IndexOfResponse

Type documentation: no documentation provided

type IndexOfResponse: int

startsWith

Operation documentation: checks if the passed string starts with a given prefix

Invocation template:

startsWith@StringUtils( request )( response )

Request type

Type: StartsWithRequest

Type documentation: no documentation provided

type StartsWithRequest: string {
.prefix: string
}

Response type

Type: bool

Type documentation: no documentation provided