max continue sub string