Your example does not seem to answer OP’s question. See the post linked by OP, the eval method and this comment.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to repeat the format in @printf? | 27 | 5280 | March 16, 2023 | |
| Printf with variable format string | 14 | 9136 | May 22, 2023 | |
| How to print some elements of array in one line in a file? | 17 | 2822 | August 25, 2021 | |
| Using a variable to format printf not allowed? | 9 | 1020 | May 23, 2023 | |
| How to use @sprintf with "parametric" format string? | 5 | 1036 | April 1, 2024 |