Checks for speech marks at the current offset and moves to the corresponding end of the speech marked blockController: CodeCogs
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.
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[offset] then offset is returned.