Append into buf the provided string, adding quotes if needed.
<p>
Quoting is determined if any of the characters in the <code>delim</code> are found in the input <code>str</code>.
@param buf the buffer to append to
@param str the string to possibly quote
@param delim the delimiter characters that will trigger automatic quoting
Append into buf the provided string, adding quotes if needed. <p> Quoting is determined if any of the characters in the <code>delim</code> are found in the input <code>str</code>.
@param buf the buffer to append to @param str the string to possibly quote @param delim the delimiter characters that will trigger automatic quoting