Replace the value in asp.net
I want to replace the numeric value in drpFPortofCall.SelectedValue.ToString. For example, given the string AEJEA~12060 I want the result to be AEJEA. Given the string INNSA~12430 I want the result to be INNSA only. How can I do this? I…