Format arguments - List of args to insert into format string. List<Expression<Boolean | Byte | Date | Decimal | Double | Float | Integer | Long | Short | String | Timestamp>>
Format string - String to be formatted. Literal<String>
Output type:String
Examples
Example 1: Base case
Argument values:
Format arguments: [argument1, argument2]
Format string: Hello %s, my name is %s
argument1
argument2
Output
Alice
Bob
Hello Alice, my name is Bob
Jane
John
Hello Jane, my name is John
Example 2: Base case
Description: Formats an integer.
Argument values:
Format arguments: [4]
Format string: number = %d
Output: number = 4
Example 3: Base case
Description: Formats a double with a sign and 4 decimal places.
Argument values: