TrimEnd(..)
-
Don't use VB much, whats up with TrimEnd() in VB2008 Here is my code to trim a space " " from the end of a path read from a file. readline = readline.TrimEnd(cchar(" ")) But it does NOT remove the SPACE? Searched the web and this is supposed to work? What am I missing?
-
Don't use VB much, whats up with TrimEnd() in VB2008 Here is my code to trim a space " " from the end of a path read from a file. readline = readline.TrimEnd(cchar(" ")) But it does NOT remove the SPACE? Searched the web and this is supposed to work? What am I missing?
what is cchar ? From the MSDN entry: ' Trim whitespaces by passing Nothing. Dim trimmedWhiteSpace As String = pathWhitespace.TrimEnd(Nothing)
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )