STunQuote


Routine

int STunQuote (const char Si[], const char Quotes[], char So[])

Purpose

Copy a string, removing outer quote characters

Description

This routine processes a quoted string. Any outer paired quotes are removed.

Parameters

<- int STunQuote
Number of characters in the output string
-> const char Si[]
Input character string
-> const char Quotes[]
Character string specifying pairs of quote characters (the left and right quote characters). A zero length string indicates that quote characters should not to be recognized.
<- char So[]
Output character string. This string should provide for at least as many characters as the input string. This routine accepts Si = So, in which case the output string overlays the input string.

Author / revision

P. Kabal / Revision 1.4 2003/05/09


Main Index libtsp