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

Add zen::string::extract_price("[CURRENCY_CODE]") #13

Open
heinsaar opened this issue Sep 3, 2023 · 0 comments
Open

Add zen::string::extract_price("[CURRENCY_CODE]") #13

heinsaar opened this issue Sep 3, 2023 · 0 comments
Labels
tca Must have a test case, can be automated
Milestone

Comments

@heinsaar
Copy link
Owner

heinsaar commented Sep 3, 2023

For example, for this to work:

zen::string s = "Total price is $25.99";
s.extract_price("USD"); // "$25.99"

Use an array of all standardized currency codes.

@heinsaar heinsaar added the tca Must have a test case, can be automated label Sep 3, 2023
@heinsaar heinsaar added this to the Kaizen 1.0.0 milestone Sep 3, 2023
@heinsaar heinsaar modified the milestones: Kaizen 1.0, Kaizen Next Sep 17, 2023
@heinsaar heinsaar changed the title Add zen::string::extract_price("[CURRENCY_CODE]") Add zen::string::extract_price("[CURRENCY_CODE]") Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tca Must have a test case, can be automated
Projects
None yet
Development

No branches or pull requests

1 participant