Object Oriented Software Engineering View all facts Glossary Help |
subject > component > module > Java module > Java method > substring |
substring comparison table |
Subject | is a kind of | is a subtopic of | have example | is an instance of | have purpose | have arguments | have result |
---|---|---|---|---|---|---|---|
Java method | method | 9.1 - The Process of Design | |||||
substring | The Basics of Java | String sub = "submariner".substring(0,3); // = "sub" | Java method | to extract part of a string | starting position and ending position + 1 | a new String with a sequence of characters from the original string |
Next Java method: toString Up: Java method Previous Java method: readObject