|
substitute
|
The substitute function substitutes one specified Text substring for another
substring in a given Text or String.
When to use Use the substitute function when you want to replace specified Text in one or
more places in a Text or String. Use the replace function when you want to
replace a Text substring that occurs in a specific location in a Text or String.
(substitute string old-text new-text count) The result string after the substitute has been done
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types string The String or Text that you want to modify. String or Text old-text A String or Text to be substituted. String or Text new-text The new Text or String to be inserted place of old-text String or Text count Optional. If present, it must be a number specifying the number of times old-text
is to be substituted. If not present, all instances are substituted.
Integer
Returns:
Examples
Argument Types
String
Text
Integer
How do I contact the AIS team?