I want to remove last three characters from a string:
string myString = \"abcdxxx\";
Note that the string is dynamic data.
Remove the last characters from a string
TXTB_DateofReiumbursement.Text = (gvFinance.SelectedRow.FindControl("lblDate_of_Reimbursement") as Label).Text.Remove(10)
.Text.Remove(10)// used to remove text starting from index 10 to end
.Text.Remove(10)