substring abstract method

String substring(
  1. int start, [
  2. int? end
])

Implementation

String substring(int start, [int? end]);