In 2022, having 4 bytes to store the length of the string (or even 8 if you want to be fancy) is not onerous.
Like all things, never say "for all" or "always" but almost all strings can be buffers packed with a size in a struct like in the top comment.