Formating API response


I pulled a data from API and the result came up with 2 data in the format below:

0x2857532d16209ada3869fb65df859a3320de5e14, 0x580e0b94a79e2cadebb30d06adfb710c08194458/ 200, 1000

How can I reflect the data to only add up the 200,1000 ?


Try this:

  1. Use :find & replace to substitute the commas “,” by nothing “”

  2. After, use the :split by to transform your string into a list, using the “blank space” to it.

  3. Done. Now the two last elements of this list will be always the desired numbers.

1 Like

Thank you! worked for me