Use 0-based substring