UIPath Studio: Compiler error on String.Split(';', c)

Hi RPA Developers
I got an compiler error on a simple assignement as

Erreurs du compilateur rencontrées lors du traitement de l’expression “cookie.Split(‘;’,c)”.
Expression attendue.

on this expression: cookies = cookie.Split(‘;’,c)

cookie beeing a String and cookies beiing a String

What is wrong?


Welcome to UiPath community

Split function will return a string array.

So your cookies should be a string array.

And if you are splitting cookies with ; the try like this,

Cookies = cookie.split(";"c)

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