Find Quotes Find Quotes
English RU
Your task at hand is to find all the quotes in a given text. And, as per usual, do everything as quickly as possible. 😉

You are given a string that consists of characters and a paired number of quotation marks. You need to return an Iterable consisting of the texts inside the quotation marks. But choose only quotes with double quotation marks ("). Single quotation marks (') aren’t appropriate.

Input: A string.

Output: An iterable.


findQuotes('"Greetings"') == ['Greetings']
findQuotes('Hi') == []
findQuotes('good morning mister "superman"') == ['superman']
findQuotes('"this" doesn\'t make any "sense"') == ['this', 'sense']