Aspire Systems interview question

100% string based and pattern based