propertize

propertize is a built-in function in `C source code'.

(propertize STRING &rest PROPERTIES)

Return a copy of STRING with text properties added.
First argument is the string to copy.
Remaining arguments form a sequence of PROPERTY VALUE pairs for text
properties to add to the result.