mirror of https://github.com/01-edu/public.git
d14e5d38b5 | ||
---|---|---|
.. | ||
README.md |
README.md
Group Price
Instructions
Create a function named groupPrice
, that can find prices in a given string.
Your function will return 2D array with the full price breakdown.
If there is no match, your function should return an empty array.
Example
Given price of USD12.31
:
[["USD12.31", "12", "31"]]