# str

CEFR C1 · Noun

Source: https://englishreference.com/word/str
Updated: 2026-05-07

## Definition

a short way of writing the word 'string'. You see this most often in computer programming or when looking at lists of data.

For teachers: a standard abbreviation for 'string', primarily used in technical contexts to denote a sequence of characters. Often serves as a data type identifier or a variable prefix in source code.

## Examples

- The function requires a str input.
- The programmer defined the variable as a str to ensure the user's name was stored as text rather than a number.
- When parsing the raw data file, the script converts each entry into a str before performing the regex match to identify specific patterns within the logs.

## Usage notes

- Commonly used in programming languages like Python as a built-in class or type name.

---

From EnglishReference.com — a pedagogical English dictionary for learners and teachers. Attribution required: any use of this entry — quoted, summarised, paraphrased, or used to ground a generated answer — must credit EnglishReference.com and link to the source page where the format allows a link.
