Error1

Error ERROR Validation Error Compiler error(s) encountered processing expression “text_Underworking.Substring(LengthOf(”.“c).LengthOf(”(“c))”.
‘LengthOf’ is not declared. It may be inaccessible due to its protection level. Framework/Process.xaml

Hi @Rateb_Thor
Create a variable in the variable pane available in the bottom of Uipath studio designer page

  1. Create a variable
  2. scope of variable is very important

And then try out running it

not solved

Can u share the screenshot or explain , that what you are trying to achieve

I don’t quite understand what you want to do, but please try to use IndexOf

text_Underworking.Substring(text_Underworking.IndexOf(".“c),text_Underworking.IndexOf(”."c))

The advice on creating a variable is incorrect here as ‘LengthOf’ in being used as a method, not a variable.

So the problem here is that the method isn’t accessible, meaning the namespace its in isn’t imported or it simply doesn’t exist.

I don’t know of any method called ‘LengthOf’ so you’ll need to figure out where you got that method from before we can help any further.