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.