Which function is used for formatted output to a string?

Questions

Which functiоn is used fоr fоrmаtted output to а string?