vb Remove Whitespace

Function RemoveWhiteSpace(strData)
	strData = Replace(strData," ","")
	strData = Replace(strData,vbcrlf,"")
	strData = Replace(strData,vbcr,"")
	strData = Replace(strData,vblf,"")
	strData = Replace(strData,vbtab,"")
	strData = Replace(strData,chr(9),"")
	strData = Replace(strData,chr(10),"")
	strData = Replace(strData,chr(12),"")
	strData = Replace(strData,chr(13),"")  
	
	RemoveWhiteSpace = strData
End Function
Removes Whitespace from a String.

Updated: Thursday 7th October 2010, 22:41pm

There are 0 comments

Leave a comment of your own

Comments are currently closed.