stringWithParams (string; paramList)
Rate this function: Average rating: 3.7 (3 votes) Discuss this Custom Function
Nicolas Bourré, Me, Myself and I
http://nbourre.ep.profweb.qc.ca/blogue/
Function that substitute parameters in a string. The parameters are placeholders with a specific format. This function act some sort like the printf function in C.
Sample Input:
| stringWithParams ("My name is %3, I am %1 years old and I do love %2 for dinner."; "52¶potatoes¶John Smith") |
|
Sample Output:
| My name is John Smith, I am 52 and I do love potatoes for dinner. |
|
Description:
Function that substitute parameters in a string. The parameters are placeholders with a specific format. This function act some sort like the printf function in C.
The format of a placeholder must be %X where X is the index number of the parameter in the list.
Might be useful for multilingual solution.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
GroupRelationInfo ( FileTarget ; TableTarget ; Result ) |
| |
(Tue, Mar 16, 5:57am) |
| 2. |
GeoBox(latitude;longitude; radius) |
| |
(Mon, Mar 15, 11:04am) |
| 3. |
MonthNameList ( start; number; short ) |
| |
(Sun, Mar 14, 11:45pm) |
| 4. |
matchListAB( ListA ; ListB; match_Value; match_operator ; getN ) |
| |
(Sun, Mar 14, 10:29pm) |
| 5. |
Bin2Hex ( binary ) |
| |
(Sat, Mar 13, 10:08pm) |
| 6. |
SlideView (text) |
| |
(Sat, Mar 13, 8:40pm) |
| 7. |
HashFNV1a64 ( text ; empty ) |
| |
(Sat, Mar 13, 6:23pm) |
| 8. |
HashFNV1a32 ( text ; empty ) |
| |
(Sat, Mar 13, 5:55pm) |
 |
|