String with integer

I need to add one string with two integer
Ex:- Ram + (current year - Date of birth)
Result :- Ram 26


Please try Ram
β€œRam” + (current year - Date of birth).tostring



Welcome to our uipath community.

Try like this.

      "Ram" + (Now.Year - Dateofbirth.Year).Tostring

Where as Dateofbirth variable is of type DateTime.

1 Like