buffer-substring-no-properties

buffer-substring-no-properties is a built-in function in `C source code'.

(buffer-substring-no-properties START END)

Return the characters of part of the buffer, without the text properties.
The two arguments START and END are character positions;
they can be in either order.