Changes between Initial Version and Version 1 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/StrFmt


Ignore:
Timestamp:
08/20/10 09:15:09 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/StrFmt

    v1 v1  
     1= StrFmt =
     2Convert string to floating point number
     3
     4{{{
     5string StrFmt(const char* pszFmt, ...);
     6}}}
     7
     8== Parameters ==
     9
     10 * pszFmt - character array of formatting information
     11 * ... - variable number of parameters to fill in formatting specifiers
     12
     13== Return Value ==
     14
     15 * Returns the formatted string
     16
     17== Remarks ==
     18
     19This is basically a wrapper around sprintf to provide the flexibility of formatting with some safety measures built in. If string parameters are used the ".c_str()" method will be needed to convert this to C style strings.
     20
     21== Example ==
     22
     23{{{
     24string strMsg;
     25strID = "123";
     26strMsg = StrFmt("ID: %s", strID.c_str());
     27}}}
     28
     29
     30== See Also ==
     31
     32 * StrToInt
     33 * StrToFloat
     34