Quote:
Originally Posted by micke1101
Code:
format(name, charsmax(name), "%s%s%s", PRE_TAG, name, POST_TAG)
-->
Code:
format(name, 32, "%s%s%s", PRE_TAG, name, POST_TAG)
|
Both ways are correct. You see,
charsmax() retrieves the size of the string - 1, so in that case: 33 - 1 equals 32.
@ jondd
I don't see the problem, the code is fine. What do you want?
__________________