Results 1 to 3 of 3

Thread: Please Help Inet

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Posts
    148

    Exclamation

    Ok i am doing a post to the internet to cgi I have the inet control and i would like to change chr. like ! , #, ( ....
    to the internet chr like # = %23 please help
    Thanks For All Your Help!
    If I helped you I give God the glory

    From CodeGreen

  2. #2
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    You need to offer up a more thorough explanation of just what you are trying to accomplish. Perhaps then, someone can give you the assistace you are looking for.
    Detail and pseudo really help.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  3. #3
    New Member
    Join Date
    Mar 2001
    Location
    San Diego, California (USA)
    Posts
    7

    Post Character substitution

    An algorithm that translates ascii characters into a url-friendly token. Is this what you're looking for? If so, I think this may work


    2 strings needed:

    sOrigString
    sURLTokenString


    for each char in sOrigString
    if the current char in sOrigString = a control char then
    append a '%' and the ascii value of the char to sURLTokenString
    else
    append the current char to sURLTokenString
    end if

    That should work if I understood the question :-)
    Bug free. On time. Pick one!

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