Definition from Wiktionary, the free dictionary
Jump to navigation Jump to search


English Wikipedia has an article on:


From sub- +‎ string


substring (plural substrings)

  1. (computing) A (possibly zero-length) string of characters that is contained in another string.
    The substrings of "button" include "butt", "ton", and "on".



substring (third-person singular simple present substrings, present participle substringing, simple past and past participle substringed)

  1. (computing, transitive) To extract a substring from.
    • 2015, Nadir K. Amra, Hernando Bedoya, Tony Cairns, Modernizing IBM i Applications from the Database up to the User Interface and Everything in Between
      If an existing character-based column is increased in size and your program does not need the extra characters, the view can be changed to force the smaller size by substringing the existing column.
  2. (computing, transitive) To take as a substring.
    • 2010, Thomas Kyte, Expert Oracle Database Architecture: Oracle Database 9i, 10g, and 11g:
      In this example, knowing that MY_SOUNDEX returns at most six characters, we are substringing the first six characters.