VBS question. Hex v...
 

Subscribe now and choose from over 30 free gifts worth up to £49 - Plus get £25 to spend in our shop

[Closed] VBS question. Hex value content.

1 Posts
2 Users
0 Reactions
39 Views
Posts: 8766
Full Member
Topic starter
 

been trying to find an answer on Google but it's not springing forth... So STW must be the next best thing - someone'll know.

I want (have) to use a VBS script to find and eliminate carriage returns by using it's hex value. Anyone know how this is done, ie how to get VBS to recognise it's a hex value rather than just 052D (or whatever it is)?


 
Posted : 01/11/2011 10:58 pm
Posts: 0
Free Member
 

I'm no VB programmer. But you could try Chr(&052D) as in: Replace(linetext, Chr(&052D), "")


 
Posted : 01/11/2011 11:05 pm