Added search for specified number of characters