substringData Method test sample