David Smith

David Smith

  • NA
  • 2k
  • 0

Replace ?

Apr 3 2012 11:43 PM
  Hi what character is this in blue, I am trying to right logic to replace the question mark from a text file i am importing, can someone help me


 (1.10 ? 1.49)




                            if (code.Contains('?'))
                            {
                                //Replaces a symbol character which comes over as '?' representing a dash with a real dash ('-').
                                code= pcodeDescription.Replace('?', '-');
                                cm.Parameters.AddWithValue("@code", code);
                            }


Answers (6)