--- I wrote:

> I have come to a place where I need to appropriately escape a variable
> (i.e. any double quotes in this variable need to be replaced with [the
> user's escape character and the double quote], etc.)

> Is there any way that I can do this without using or assuming a
> certain escape character?

More specifically, let's assume this situation:

Local ScriptName = ?_ARB_
Local Alias = ?_ProcessThisText_
Local Parameters = ?_Do I have a "hamburger" of sorts? |'`/\*_

How would I form these variables into one string to pass to PowerPro
for processing?��

[EMAIL PROTECTED](?_Do I have a "hamburger" of sorts? |'`/\*_)

I cannot assume that the Parameters variable does not contain an
underscore, and so I can not hard-code the underscores into the above
line of code.

Perhaps I could poll the parameters string for one ASCII character
that simply isn't used in the string, but what if by some chance this
string actually uses all 256 ASCII characters?

I suppose that this is a very far-fetched scenario. Even though, is
that the only choice I have�� searching the string for a character
that does not occur, and then wrapping that character around the
string and prepending a question mark?

-- 

Alex Peters / Melbourne, Australia
PowerPro v4.1.00 / Windows XP



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to