Results 1 to 5 of 5

Thread: Trimming down "not SO empty" strings*resolved*

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2004
    Posts
    9

    Resolved Trimming down "not SO empty" strings*resolved*

    Well I guess this is a very basic question with a very basic answer but then again I'm a very basic programmer

    (Yes I do search the forum and the MSDN-library but it looks like I'm just bad at it )
    -------------------------------------------------
    Now I do have a textbox with limited Maxlength of 100 Chars

    Whenever changed I send the text to strTemp (which also have a limited size of *100)

    Now I want to trim down the string to just visible characters but the string is full of those stupid squares that does NOT count as empty but still doesn't show anything.

    Reason why is that I want to shrink my filelength that is full of those "characters".

    Briefly:

    strNewString = trim(strTemp)
    does not give me
    strNewString = "" but strNewString= "..."

    Is there an easy way to solve this or do I have to check the ascii codes of every car??? (sounds like a stupid idea)

    Thanks!
    Last edited by AJirenius; Oct 13th, 2004 at 04:28 AM.

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