SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 1999
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Escaping characters?

    I'm trying to go to a specific url page. The problem is, the page url has curly braces in it:
    How do I get around the problem of the curly braces; since Silk wants to replace it with a variable.

    Thanks,
    Scott

  2. #2
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Escaping characters?

    Type the URL as the following:

    sLocation = 'http://yourcompany.com/"this is a test"/'

    (use single quotes and the double quotes are inside)

    ------------------
    AJ Alhait
    BetaSoft Inc.


    [This message has been edited by AJ (edited 11-10-1999).]
    AJ Alhait
    BetaSoft Inc.

  3. #3
    Guest

    Re: Escaping characters?

    Hi Scott,
    What you may need to do is specify the braces {} within chr statements within your overall string. The full string may look like this:

    "http://qa2.isn.com/cgi-bin/gx.cgi/GUIDGX-{chr(123)}BC0870B7-DC3E-137C-C99A-08002080A910{chr(125)?URL=auction/front/index.html"


    The Chr function specifies the ASCII value of the character you want. The opening brace is 123 and the closing brace is 125. I hope this helps.

    Jim Little
    Metamor Software Solutions

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:29 AM.

Copyright BetaSoft Inc.