6
Answers

Replace ?

David Smith

David Smith

12y
1.2k
1
  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)