Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    77
    Thanks
    0
    Thanked 0 Times in 0 Posts

    is there any way to insert blank space that can't trimmed?

    is there any way to insert blank space illusion whit new string that the trim function the one that removes spaces (like the trim function in asp)
    i mean some kind of invisible char or what ever that i can insert inside of html textbox and the trim function not
    going to work on it?
    or some kind of extra invisible char or combination that will leave invisible char in the created string?

    thanks!

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Location
    USA
    Posts
    151
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The following generates one space character in HTML, and is unaffected by trim().
    Code:
     

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,048
    Thanks
    0
    Thanked 251 Times in 247 Posts
    ALT-255


  •  

    Posting Permissions

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