PHP Code:
new g_HudMessage[32]
new Pos = format(g_HudMessage, 31, "Hello %s", "World")
// Or
new Pos = format(g_HudMessage, sizeof(g_HudMessage) - 1, "Hello %s", "World")
"Pos" is an integer. And, format() outputs the number of characters that were copied to the string "g_HudMessage". So in this case "Pos" is 11.
__________________