-
Both versions concatenate strings and a string variable
"Hi" & myFirstName & ", you won 100 €." OR Format("Hi {0}, you won 100 €.", myFirstName)
-
Formatting an integer, returns: The code is: 87_675-23
Format("The code is: {0:00_000-0}", 8767523)
-
Formatting an integer, returns: The watch costs 19.78 Euro
Format("The watch costs {0:0.00} Euro", 199.77777)
-
Converts a DateTime object to a string formatted as a date
ToString("dd.MM.yyyy")