I am making comparision between two string
Say
1.It was the hour.
2It was the hour
Since i dont get 100 percent result due to . dot
How can i remove this . There are some string that have (;,) etc and some doesnt have any special character in end
Its removing from whole string i had the regex for this but i want to remove only from end
Something like this
lineone.Trim().ToLower().TrimEnd('?', '.', ',', ';', '!', ':'),
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.