Format String 8
Format String 8
Description
From a template creates a new string with 8 different variables
Example:
Inputs :
-
template = This is a $1, $2 day. On $3 $4 that $5 $6 ticket $7 and $8.
-
$1="nice"
-
$2="sunny"
-
$3="the daily"
-
$4="was decided"
-
$5="Jonh"
-
$6="get"
-
$7="484"
-
$8="OM-9834"
Output: This is a nice, sunny day. In the daily was decided that John, get ticket 484 and OM-9834.
Inputs
- template (String): The template to follow, should include variables following the syntax $1, $2 etc...
- $1 (String): The variable to replace
- $2 (String): The variable to replace
- $3 (String): The variable to replace
- $4 (String): The variable to replace
- $5 (String): The variable to replace
- $6 (String): The variable to replace
- $7 (String): The variable to replace
- $8 (String): The variable to replace
Outputs
- result (String): The resulting template with the variables