Substring a string from the end of the string September 24, 2023 by Tarik You can do: string str = "Hello Marco !"; str = str.Substring(0, str.Length - 2);