Hi, I would like to know how can I assign a boolean value to a string that contains specific texts?
Specifically, I want it to be like this:
when the string contains “Yes” return a boolean value of True
when the string contains “No” return a boolean value of False.
Sorry if this sound too easy I am quite new to UiPath automation, I just hope to get some assistance on this
Hello,
if you want to have it concise, you can use inline if in Assign activity. If YourString will be “Yes”, then it will assign True to YourBool, if YourString will be anything else, it will assign False.