I am trying to format a .dat file which has "" characters in it, example hello, i would like to return "Hello" only.
I am trying to use the replace string function but no joy, i have a for loop to read through the text and when it encounters a "" i am trying to delete it as:
am i doing this the right way?
for (i =0; i<text.Length;i ++)
{
string = text.substring( i,1);
if (string == "")
string.replace( "", "");
}
Thanks
Raz
I am trying to use the replace string function but no joy, i have a for loop to read through the text and when it encounters a "" i am trying to delete it as:
am i doing this the right way?
for (i =0; i<text.Length;i ++)
{
string = text.substring( i,1);
if (string == "")
string.replace( "", "");
}
Thanks
Raz
Comment