how added letter the start of string in java code example Example: how to get start char in string in java char ch1 = str.charAt(0);