Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement string numeric interpolation feature #28318

Open
mbtolou opened this issue Aug 30, 2021 · 1 comment
Open

implement string numeric interpolation feature #28318

mbtolou opened this issue Aug 30, 2021 · 1 comment
Labels

Comments

@mbtolou
Copy link

mbtolou commented Aug 30, 2021

hi.
implement string numeric interpolation feature.

https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings

like this :

select stringformat('i have {0:C} dollars .',100)
result:
i have 100.0$ dollars .

select stringformat('->{0:x20}<- .',"hello")
result:
->xxxxxxxxxxxxxxxHello<-

@filimonov
Copy link
Contributor

#27680 (comment)

/cc @alexey-milovidov

Loosely related: #2770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants