Removing extra char from long string

Hi How can I remove image

\n\r from a string. @Palaniyappan

1 Like

Just a Replace method
Like this if it’s in a string format
Strinput.Replace(β€œ\r\n”,””).ToString

Cheers @balkishan

2 Likes

Hi @balkishan
StrOutput.replace(β€œ\r”,β€œβ€).replace(β€œ\n”,β€œβ€)

Thanks
Ashwin S

1 Like

@balkishan Tr this :
yourString.Replace(β€œ\n”,β€œβ€).Replace(β€œ\r”," ")

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.