In computing and mathematics, a contiguous sequence of characters within a larger string. A portion of text that appears within another text.
Computer science term combining 'sub-' (under, part of) with 'string' (sequence of characters). Emerged in the 1960s with the development of programming languages, where 'string' referred to sequences of text characters stored in computer memory.
The concept of a substring perfectly illustrates how computer science borrows from everyday language - just as we might look for a word within a sentence, programmers search for character sequences within larger texts. This simple concept underlies everything from search engines to DNA analysis, making it one of computing's most fundamental building blocks.
Complete word intelligence in one call. Free tier — 50 lookups/day.