public static void main(String[] args) {
		SubstringwithConcatenationofAllWords s = new SubstringwithConcatenationofAllWords();
		String[] arr = { "fooo", "barr", "wing", "ding", "wing" };
		for (int i : s.findSubstring(
				"lingmindraboofooowingdingbarrwingmonkeypoundcake", arr)) {
			System.out.println(i);
		}
		String a = "abc";
		System.out.println(a.substring(1, 3));
	}