Splitting Error

Hi,

I’m using Get OCR text to get some data from website,
the output is coming as follow
image
When using split to get each of the following fields, I’m using this
System.Text.RegularExpressions.Regex.Split(Split(clientdetails,“:”)(1).Trim,“\n”)(0)

It’s working fine but I’m always having that “@’ sign before my text even when I scrape the data am getting this sign”@" idk why.

Any help is much appreciated

Hi,

This @ sign means verbatim string literals of C#. So, it’s unnecessary to take care it.
Please see the following document in details.

Regards,

Hi @Yoichi,

When I try to concatenate those fields the “@” is still there and they’re coming on separate lines… any idea ?

HI,

As this sign exists outside double quotes, if you concatenate 2 strings @ sign exists only just before the first double quote. (And it’s displayed in only locals panel. Actual data is not relevant with this @ sign)

@"abc
def"
+
@"ghi
jkl"
=
@"abc
defghi
jkl"

Regards,

You can Remove it using replace with null right?

Regards,

This is not an issue anymore, I’m using split to get each field on it’s own then am using assign activity to combine those fields in a single line but they’re being combined each in a separate line .

I’m using the following: String1+“-”+String2+“-”+String3