Stringfunction

Hi , can any one help me.

In “UiPath Certification” string.

Which string function should be written to get only “Certification”?

Thank u.

If MyVar is the string containing "UiPath Certification", then you can do one of the following:

1.) Get the string with MyVar.Split(" "c)(1).
2.) Get the string with System.Text.RegularExpressions.Regex.Match(MyVar, "(?<=UiPath\s).*").Value.
3.) Get the string with MyVar.SubString(7, MyVar.Length - 7).
4.) Use the library UiPath Marketplace | Error. This can simplify some string manipulations.

Take your pick. I’m sure there are other ways as well.

2 Likes

Hy @saritha

Just like this:

Strings.Split(“UiPath Certification”," ")(1)

Thank u all

1 Like

Hy @saritha

Could you mark this post as solved?

Thanks!

Hi,

As u mentioned in Point No 4

May I know , which one is good to use .

Either Build in activities or User Defined Libraries for ease use.
Which would be the best practice to use in Processess.

Thank u.

Hi,

As u mentioned in Point No 4

May I know , which one is good to use .

Either Build in activities or User Defined Libraries for ease use.
Which would be the best practice to use in Processors.

Thank u.

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