In a for each row loop, I want to take the value of a cell, split the string into two parts, based on the length from the left, in my case 2.
When I try to input a number into the split function i get the error message that integer value cannot be converted to Char.
I’ve read all I can find on the topic on this forum but all I get is that it is surprisingly difficult to split a string.
Any ideas on how to solve the issue?
Best wishes
Rupert
Hey! It worked like magic a few times, now it doesnt work anymore, with this error for the assign activity(output1=string1.substring(0,2)):
“Assign: Object reference not set to an instance of an object.”
The assign task is marked with “No condition defined.”
Read one could assign default value: “” but that didnt make any difference. Also i found someone saying solution could be to change to “generic” variable yet i cant find it so no luck there.