library/src/utility/BP-StringUtilities.cc
// Returns BP_TRUE if the buffer contains an unescaped single quote.  Set char_pos_inout to a size_t
// to retrieve the position in the buffer where the unquoted character was found.
Returns BP_TRUE if the buffer contains an unescaped single quote.  Set char_pos_inout to a size_t
to retrieve the position in the buffer where the unquoted character was found.
Returns BP_TRUE if the buffer contains an unescaped single quote . Set char_pos_inout to a size_t to retrieve the position in the buffer where the unquoted character was found .
BP_BOOL BP_BufferContainsUnescapedSingleQuote(char *buffer, size_t buff_size, size_t *char_pos_inout)
{
	if(!buffer)
		return BP_FALSE;
	if(!buff_size)
		return BP_FALSE;
	size_t n = 0;
	for(; n < buff_size; n++)
	{
		if(buffer[n] == '\'')
		{
		}
	}
	return BP_TRUE;
}
BP_BOOL BP_BufferContainsUnescapedSingleQuote ( char * buffer , size_t buff_size , size_t * char_pos_inout ) { if ( ! buffer ) return BP_FALSE ; if ( ! buff_size ) return BP_FALSE ; size_t n = 0 ; for ( ; n < buff_size ; n ++ ) { if ( buffer [ n ] == ' \' ' ) { } } return BP_TRUE ; }
Returns BP_TRUE if the buffer contains an unescaped single quote.
Returns BP_TRUE if the buffer contains an unescaped single quote .
// walk through the buffer and check for single quotes // if the index at the current position // return indicating that the buffer contains a unescaped single quote