Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expose Visual Basic string functions

Tags:

blueprism

rpa

I'm trying to use some Visual Basic string manipulation functions in a Blue Prism code stage. Referencing functions like LEN, LEFT, and RIGHT throws an error:

'Len' is not declared. It may be inaccessible due to its protection level.

Is there a DLL or namespace I can import to my Business Object in order to expose and use these functions?

like image 763
user3375372 Avatar asked Nov 29 '25 19:11

user3375372


1 Answers

LEN, LEFT, and RIGHT are available through the Microsoft.VisualBasic.dll library.

In the Code Options tab of the properties of the Initialize page of your object, add Microsoft.VisualBasic.dll as an entry in the "External References" section, and add Microsoft.VisualBasic as an entry in the "Namespace Imports" section.

After that, you can begin to use the string manipulation functions available in the Visual Basic spec.

like image 143
esqew Avatar answered Dec 03 '25 00:12

esqew



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!