Skip to main content
substring

substring

1 7.0
A group of letters or numbers next to each other inside a longer piece of text
  • noun
  • /ˈsʌbˌstrɪŋ/
  • Specialized
: subcadena
  • Since most probable matches should include user input as separate words in company names, items not containing all the exact words (e.g., containing super-words, i.e., words that contain the input words as proper substrings) are eliminated.

OK, so I give you a substring and I want to know where does it occur.

Autoplay Next

Examples

  • Did we take prefixes and suffixes or substrings of a sequence?

  • Database objects, where the typed filter string is not a substring of the object identifier, will be hidden.

    Blog text (12)
  • So if I want to take a substring, this becomes an index to the substring function or the substring method.

  • We want to do increasing substrings, substring size.

  • Figure 3 shows maximal (length) matches of the incoming substring found in two locations.

    Academic text (1996)
  • The substring aa becomes the extended prefix, since a was the prefix for aa.

    Academic text (1996)
  • In this example, we can replace the 24-bit aaa substring with 7-bit coded words (1-bit tag, 3-bit length, and 3-bit starting address).

    Academic text (1996)
  • In the programming language, a substring is created when you extract part of a longer string.

  • You can find a substring within a larger text to help with searching specific data.

  • When developing software, using a substring can optimize how you manipulate text strings.

How Long

sentence
542 1.0
phrase
  • Specialized
657 2.6
substring
  • Specialized
1 7.0
word
∞ 1.0
character
81 3.2

Surface Forms

substring singular
substrings plural

Morphology

substring = string (transparent) = sub + string

The meaning is a straightforward combination of 'sub' (part of) + 'string' (a sequence of characters), matching the computing sense.

Etymology

The word substring comes from sub- meaning 'under' or 'part of' and string meaning 'a line or series', like a string of beads. So, a substring is a shorter piece of a longer string of letters or text.