View Single Post
Old Mar 14th, 2008, 10:19 PM   #8
Irwin
Newbie
 
Join Date: Mar 2008
Posts: 9
Rep Power: 0 Irwin is on a distinguished road
Re: Deleting chracters

Such an useless argument...

Anyway, just AND the byte (assuming it's ANSI) by 0xDF, that should force it go to uppercase and that is faster than any of the aforementioned arguments. After doing so just do a REP SCASB (again, assuming it's ANSI) until you find the character you're looking for then just use REP MOVSB to copy over it.
Irwin is offline   Reply With Quote