Skip to content
substring
EntityQ2626534· pop 10· linked from 120 articles

Also known as factor, contiguous subword

thumb|"string" is a substring of "substring"

Wikidata facts

Show 2 more facts
Commons category
Substring
Sources (3)

via Wikidata · CC0

~4 min read

Article

7 sections
Contents
  • Substring
  • Prefix
  • Suffix
  • Border
  • Superstring
  • See also
  • References

thumb|"string" is a substring of "substring"

In formal language theory and computer science, a substring is a contiguous sequence of characters within a string. For instance, "the best of" is a substring of "It was the best of times". In contrast, "Itwastimes" is a subsequence of "It was the best of times", but not a substring.

Available in 9 languages

via Wikidata sitelinks · CC0

Connections

Categories