>
Note 1: Make sure that substring is the only String class method in Java, that does not follow Camel-case.
Note 2: Indexes are managed as shown in the following example:
For example: Considering String message = "Welcome to Java";
Click HERE for the Comparison Methods of String class.
The String Class: (Part 3)
Substring Methods of String class:
Note 1: Make sure that substring is the only String class method in Java, that does not follow Camel-case.
Note 2: Indexes are managed as shown in the following example:
For example: Considering String message = "Welcome to Java";
- Example: (substring ->one argument)
- Example: (substring ->two arguments)
Click HERE for the Comparison Methods of String class.
Comments
Post a Comment