Changes between Version 2 and Version 3 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/StrFmtLen
- Timestamp:
- 08/14/26 07:38:27 (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/String/StrFmtLen
v2 v3 18 18 == Remarks == 19 19 20 This is similar to StrFmt but with the added length parameter. If the output string would be shorter than the specified length the output is padded with spaces to the right to make the string the desired length. If the output string would be longer than the specified length the output is truncated. If string parameters are used the ".c_str()" method will be needed to convert this to C style strings. Refer to http ://www.cplusplus.com/reference/clibrary/cstdio/printf/ for formatting specifiers.20 This is similar to StrFmt but with the added length parameter. If the output string would be shorter than the specified length the output is padded with spaces to the right to make the string the desired length. If the output string would be longer than the specified length the output is truncated. If string parameters are used the ".c_str()" method will be needed to convert this to C style strings. Refer to https://cplusplus.com/reference/cstdio/printf/ for formatting specifiers. 21 21 22 22 == Example ==
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)