Skip to main content
Version: Next

Format String 4

Format String 4

Description

Returns a string with the insertion of four variables

Example:

  • template = Hello $1, your email is $2 and phone number is $3, you registered at $4!
  • $1 = toto
  • $2 = toto@tata.io
  • $3 = 555.3434.8990
  • $4 = date/time

Output: Hello toto, your email is toto@tata.io and phone number is 555.3434.8990, you registered at 08:46 12/03/2023 !

Inputs

  • template (String): The template to follow should respect the syntax of the variables - $1, $2 ,$3, $4
  • $1 (String): The variable to replace
  • $2 (String): The variable to replace
  • $3 (String): The variable to replace
  • $4 (String): The variable to replace

Outputs

  • result (String): The resulting template with the variables