did that work buddy @smita.mobifly
buddy in ToAddress.Tostring.split
remove that ToString buddy @smita.mobifly and keep it as ToAddress.Split
buddy take the cursor to that blue mark and share the screenshot of what it shows buddy @smita.mobifly
buddy may i know how that ToAddress will actually look
a single line of string or a paragraph of three lines
Cheers @smita.mobifly
i have mentioned above.
1st string: GSTIN : 32AAC CS014 4E1Z2
GLAXOSMITHKLINE CONSUMER HEALTH CARE LTD
KERALA
2nd string: GSTIN : URP
United Distributors (Nepal) P.Ltd
OTHER COUNTRIES
May be i made some mistake⦠let me check
Buddy if it is of single line like this
GSTIN : 32AAC CS014 4E1Z2 GLAXOSMITHKLINE CONSUMER HEALTH CARE LTD KERALA
we cannot use environment.newline.toarray in the split method buddy
only if it is of two or three lines
like this
GSTIN : 32AAC CS014 4E1Z2
GLAXOSMITHKLINE CONSUMER HEALTH CARE LTD
KERALA
we can use that in split method buddy
that is what is showing error and i think it must of single line output
Kindly check that and let know buddy with a write line activity
Cheers @smita.mobifly
Hi @Palaniyappan,
actually there is space between the gstin, so that given code is not working, i am getting blank string.
i want only first line after :
Try this buddy
outtext = split(split(intext.split(Environment.Newline.ToArrray())(0)," : β)(1).ToString.Trim,β ")(0).tostring.trim
did that work buddy @smita.mobifly




