Dim EachLineData() As String = Split(sLine, sCharSep)
dataRw(iCol) = EachLineData(iCol).ToString.PadRight(aColLen(iCol) + 1).Remove(aColLen(iCol)).TrimEnd
dim str as String = " aaa "; str = str.Trim();
YourString.Left(YourString.Length-4)
Dim str As String = " mm aaa dd " str = str.Replace(" ", "") str = str.Trim()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)