AddText

<< Fare clic per visualizzazione il sommario >>

Percorso:  API di piattaforma > Altri servizi > Soap >

AddText

Service

Soap

 

Method

AddText

 

Description

Adds to the startingText the content of textToAdd after having replaced in it all the tokens with the corresponding values specified in the values parameter.

 

Input

Name

Description

Type

Optional

startingText

Starting text (optional).

String

 

textToAdd

Text to add (optional).

String

 

tokenDelimiter

Token delimiter (optional, defaults to an empty string).

String

 

values

Optional dataset containing Key/Value pairs of token/value to replace in xmlBody;

ex.: if xmlBody = "<Currency>@Currency@</Currency>" and tokenDelimiter = "@" and values contains ["Currency", "EUR"],

xmlBody will become "<Currency>EUR</Currency>".

Dataset

Y

Output

Name

Description

Type

Optional

returnValue

A string containing the startingText plus the content of textToAdd after having replaced in it all the tokens with the corresponding values specified in the values parameter.

String

 

 

Remarks

AddText can also be used to merge two strings (using only the startingText and textToAdd parameters) or to replace substrings (using only the textToAdd and values parameters)