Is there standard terminology/notation for the "prefix" of a word?

96 Views Asked by At

Given a word like $abbbaaaba$, we can take (say) the first three letters. We might write $$\mathrm{foo}_3(abbbaaaba) = abb,$$ or something like that. Is there any standard terminology or notation here?

1

There are 1 best solutions below

0
On BEST ANSWER

prefix (of length $3$) is pretty logical, but I am finding a lot of hits for the second obvious thing that came to mind:

initial segment (of length $3$)

E.g. see this, and this, and this.