This is very simple. You can use a combination of IndexOf and Replace or Loop through it yourself and copy only the valid characters to a new string. What part are you stuck on?
Edit:
You can try:
string x = "123.4".Split('.')[0];
Are you sure you don't want to round though? If so, try converting to number and using Math.Round, then convert back to string.