Amazon interview question

how to pick up string with quotation?