Checks for speech marks at the current offset and moves to the corresponding end of the speech marked block

View versions (1)

Interface

#include <codecogs/strings/search/detect_speech.h>

using namespace Strings::Search;

This function looks for the existance of a speech mark, as in " or '. Upon find either of these types of speech mark, the function will then find the corresponding end to the speech march.

Parameters

str
This is the input string, with text that needs analysing.
offset
The location within str to search for the start of speech. If no speech is found at str[\a offset] then offset is returned.
GPL Licence — free for non commercial use. See Licence details.