Link to home
Start Free TrialLog in
Avatar of VBdotnet2005
VBdotnet2005Flag for United States of America

asked on

replace or remove weird chars

How can I remove or replace  a pair of weird char (looks like rectangle) in a text file in vb.net?
Avatar of carlnorrbom
carlnorrbom
Flag of Sweden image

Hi,

You can use String.Replace("weirdcharacter", "")

/Carl.
Avatar of VBdotnet2005

ASKER

How can I upload a text file for you so you can see it?
there it is.
Ok I uploaded a text file called "test". So you can see it.
Hi,

I don't see any attachment?

/Carl.
Avatar of Fernando Soto
Hi VBdotnet2005;

Where did you upload the file too?

Fernando
I checked the box "Attach file"  and "Add file" and submit. Not sure where it upload to....
Can you try again.
ASKER CERTIFIED SOLUTION
Avatar of JackOfPH
JackOfPH
Flag of Philippines image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of barrislb
barrislb

Hi VBdotnet2005,

Those weird rectangle boxes are replacements for the white space " " character. The file probably could not recognize a certain font. Still waiting to see your file.
Hi,
In order for us to help you it would be very helpful to actually see the file contents.
/Carl.
JackOfPH, I will give it a try.... I uploaded the file a few time alreay...it is a text file
To upload a text file for this question click on the check box near the bottom of this page called "Attach File".  In the new box click on the button called "Add File". This will open a "Choose File To Upload" dialog box, locate the file you wish to upload and then click on the button "Open". Once the file has been successfully selected write a description of the file in the "Description text box. Then click on button "Submit" to send the post.