% String with first character removed str(2:end) % String with last character removed str(1:end-1) % String with both the first and last characters removed str(2:end-1)