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

%s$% as an operator version of sprintf #400

Closed
gagolews opened this issue Aug 25, 2020 · 1 comment
Closed

%s$% as an operator version of sprintf #400

gagolews opened this issue Aug 25, 2020 · 1 comment

Comments

@gagolews
Copy link
Owner

gagolews commented Aug 25, 2020

Something like Python's % operator.

> "value='%d'" %s$% 3
[1] "value='3'"
> "value='%d'" %s$% 1:3
[1] "value='1'" "value='2'" "value='3'"
> "%s='%d'" %s$% list("number", 3)
[1] "number='3'"
@gagolews gagolews changed the title %s@% as an operator version of sprintf %s#% as an operator version of sprintf Aug 25, 2020
@gagolews
Copy link
Owner Author

Hmmm... \name should not contain !, | or @

@gagolews gagolews changed the title %s#% as an operator version of sprintf %s$% as an operator version of sprintf Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant