I am storing a value as a variable out of an excel cell but I am not getting the complete value
I am using it further in my workflow and it then only shows “R. Storrs” while it should show “R. Storrs_EMC_AR_65208_ENQ_Nov18” . As you can see below I have a break line in it. I already tried with mystring.replace(“\n”,“”) or mystring.replace(environment.newline,string.empty) but it is not working…
Thanks for this reference.
But I don’t know how to get started. Is it in an assign activity?
For example like this?:
Assign: x = InputStringVariable.Split("delimeter"c) or should it be Assign: x = InputStringVariable.Split("vblf"c)? Also I will then split it but I need the whole part again afterwards without \n in between.
Ooops. Sorry for not making it clear!
That was just a reference. Please use vbConstants to replace the new line: In Assign activity For example:
Left hand side : mystring
Right hand side: mystring.Replace(vbCrLf,"")