DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to get string special characters

  1. #1
    Join Date
    Feb 2007

    How to get string special characters

    I'm trying to get special characters from a text box object. With a standard text box I get nothing but simple text. With a RichText box I can at least get the string delimiter (vbCr vbLF) which I don't need. If, however, I enter a string like "ABC^L" where ^L is Ctrl-L (octal 12 or 0C hex), the ^L character is not in the buffer returned to me. All I get is the ABCvbCr-vbLF. I guess the system "thinks" it is doing me a favor striping off useless characters. Problem is they aren't useless to me. Any suggestions?

  2. #2
    Join Date
    Nov 2013
    Hello There. I discovered your weblog using msn. That is a really well written article. I will be sure to bookmark it and return to read extra of your useful info. Thank you for the post. I will certainly return.

    **Links removed by Site Administrator so it doesn't look like you're spamming us. Please don't post them again.**

  3. #3
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Since you seem to have had good luck with vbCrLf why not extend the use of the VB keycodes and rather than looking for ^, look for vbKeyControl which is the VB keycode for the Control key.

Similar Threads

  1. Replies: 1
    Last Post: 07-14-2009, 07:07 AM
  2. Checking string for special characters
    By Laurel in forum VB Classic
    Replies: 4
    Last Post: 06-23-2004, 09:45 PM
  3. Removing special characters from String
    By jfstarr in forum Java
    Replies: 1
    Last Post: 03-16-2003, 01:35 PM
  4. special characters in XML
    By marlene leach in forum XML
    Replies: 1
    Last Post: 08-09-2001, 04:31 PM
  5. special characters in XSL
    By barker in forum XML
    Replies: 1
    Last Post: 04-27-2001, 07:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center