Difference between revisions of "Format"
From SDU
(New page: formats a string string format(string expression, ... variables) eg. format("Change number is %s", chg_ref_num); format("Change number is %s and description is %s", chg_ref_num, descrip...) |
(fixed spelling mistake) |
||
| Line 7: | Line 7: | ||
format("Change number is %s and description is %s", chg_ref_num, description); | format("Change number is %s and description is %s", chg_ref_num, description); | ||
| − | escape | + | escape characters... |
%% = percent sign | %% = percent sign | ||
%d = int | %d = int | ||
%s = string | %s = string | ||
Revision as of 17:51, 4 March 2008
formats a string
string format(string expression, ... variables)
eg. format("Change number is %s", chg_ref_num); format("Change number is %s and description is %s", chg_ref_num, description);
escape characters... %% = percent sign %d = int %s = string