You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
321 B

5 years ago
## 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"]]
```