implement substr