Remove some text in UiPath GetText

I want to remove some phrase from get text like this
input : Hi09:48
output : Hi
Did it possible to do that thing ?

@Dandung_JN

Welcome to the uipath community.

Try like this:

Str = “Hi09:48”

reqStr = Str.substring(0,2)

can u]you make some example ? still confuse

@Dandung_JN

Create two string variables like str and reqStr.

  1. Use Assign activity, str = “Hi09:48”

  2. Use one more Assign activity, reqStr = str.substring(0,2)

  3. And then use Message Box or writeline activity and print reqStr to print required output.

1 Like

thanks

1 Like

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