Format

From SDU
Revision as of 17:51, 4 March 2008 by Jontao (Talk | contribs) (fixed spelling mistake)

Jump to: navigation, search

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