Change input from an 'Assign' when using 'Type Into'

Dear UiForum,

I have made a process that by the use of ‘Assign’ stores some information received by the name of an PDF file, this could be a date, e.g. stated 31.08.2020. That date will later on be used in a ‘Type Into’, however, instead of typing the exact date, 31.08.2020, it should be changed to 31-08-2020 (with hyphens instead).

How is that done? The reason why the date is not written like this from the start is because the hyphens are used as ‘split’ indicators, as there are four ‘Assign’ activities provided with information by the name of the PDF file.

Thanks - and kind regards,
Simon

@SimonDalgaard You can just use a String Replace for that purpose.
“31.08.2020”.Replace(“.”,“-”)

Considering it is in a String format.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.