substring

Noun
  1. a string that is part of a longer string
substring
A programmer highlights a substring within a line of code.