Formatting Strings - Designer - Foundation 24.1 - Foundation 24.1 - Ready - Hyland RPA - external - Hyland-RPA/Designer/Foundation-24.1/Hyland-RPA-Designer/Visual-Basic-Text-Expressions/Formatting-Strings - 2025-04-03

Hyland RPA Designer

Platform
Hyland RPA
Product
Designer
Release
Foundation 24.1
License

This topic provides code samples of how to format character strings.

  • Concatenates strings and a string variable

    "Hi" & myFirstName & ", you won 100 €."
    Format("Hi {0}, you won 100 €.", myFirstName) 
  • Formats an integer and returns: The code is: 87_675-23

    Format("The code is: {0:00_000-0}", 8767523)
  • Formats an integer and 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")