Missing support of `%*s` in sprintfn
See original GitHub issueDescription
Please provide a succinct description of your issue.
Repro code
On fsi:
> sprintf "%*s^%s" 10 "" "test"
val it : string = " ^test"
On Fable:
> sprintf "%*s^%s" 10 "" "test"
val it : string = "%*s^10"
Expected and actual results
We should have the same behavior on both runtime.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Why does this call to sprintf_s() work, and how can I make ...
I have thus tried replacing it with snprintf() and the original error message disappeared (but please let me know if that was not...
Read more >sprintf missing one parameter [SOLVED]
Hello, I am having trouble with sprintf. In order to get a second parameter, I must add a middle value (kk) which will...
Read more >sprintf - Manual
The format string supports argument numbering/swapping. ... $num = 5; $location = 'tree'; $format = 'There are %d monkeys in the %s'; echo...
Read more >[resolved] sprintf doesn't work with variable number of ...
I currently have a bunch of strings with a variable number of %s's and I know beforehand what each of the parameters will...
Read more >sprintf format character error
I found a few of these errors in a debug file on one of my web sites that has ninjascanner installed… PHP Fatal...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
There’s also this page in the MSDN:
https://msdn.microsoft.com/en-us/visualfsharpdocs/conceptual/core.printf-module-[fsharp]
This was closed with 3923a523d88ca4208bbcb081f58c791a6d3d9730.