class TestString
{

	public static void main(String args[])
	{
		String sStr = "Now is the winter of our discontent";
		System.out.println("Now is the winter of our discontent");
		System.out.println("The string is: " + sStr);
		System.out.println("Lenght of this string is: " + sStr.length());
		System.out.println("The character at position five: " + sStr.charAt(5));
		System.out.println("The substring from 11 to 17: " + sStr.substring(11, 17));
		System.out.println("The index of the character d: " + sStr.indexOf('d'));
		System.out.println("The index of the beginning of the ");
		System.out.println("substring \"winter\ ":" + sStr.indexOf("winter"));
		System.out.println("The string in upper case: " + sStr.toUpperCase());
	}
}