I have a problem using Split Method() .
I have a line like this:
string diagnosis = "001.00 00 002.01 00 003.00 01";
And the conclusion should be:
001.00 002.01 003.00
I tried in two ways to remove two digits:
1
string[] DiagnosisCodesParts = diagnosis.Split(); if (DiagnosisCodesParts[x].Length > 3) {
A..
2
string DiagnosisCodestemp = diagnosis.Replace(" 00 ", " ").Replace(" 01 ", " ").Replace(" 02 ", " ")
Is there any other way to delete two digits?
source share