CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: White Chars

  1. #1
    Join Date
    Aug 2000
    Posts
    69

    White Chars

    Is there a specific VB function that removes white chars (not blanks) from the begining and the end of a string?
    Thank you.


  2. #2
    Join Date
    Jan 2001
    Posts
    165

    Re: White Chars

    trim(" test ") 'will trim off spaces

    but as you said you wanted white characters not blanks, I am assuming that this means the character is possibly from the extended ascii set and is showing up as a white block. If this is the case and you only want the regular ascii set, just write a function to remove all characters that are not in this set (I'm not sure of the range of normal ascii characters I would have to look up my chart)

    -K


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured