Java View all facts Glossary Help |
member > method > substring |
substring comparison table |
Subject | have | is a kind of | is a synonym of | is a subtopic of | have example | is an instance of | have purpose | have arguments | has definition | is partitioned into | have result |
---|---|---|---|---|---|---|---|---|---|---|---|
method | a comment at its head if the method is non-obvious | specification | member function | Methods | Code that specifies some of the behaviour of a class or instance | static method, instance method | |||||
substring | specification | Strings | String sub = "submariner".substring(0,3); // = "sub" | 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 method: accessor method Up: method Previous method: recursive method