How to Get Text Spacing?

Hi, there must be a simple way to get spacing in a text. I do very complicated things. Please help me.

Text;

{“one”:{“usd”:0.0016147,“usd_market_cap”:0.0,“usd_24h_vol”:602837.6388764079,“usd_24h_change”:-4.940897406932138}}

I want ;

0.0016147

I am sharing the blocks I made. This is how it works but is there an easier way? So, I just want to get the range 15 to 26 of a text.

Screenshot_4

Try dictionary method to get value for the key

image

1 Like

Use format as decimal to return the whole value for example

1 Like

Thanks for your answer but I didn’t get the same result. It shows “Not Found”. Why could it be?

Screenshot_5

Do you get response from an api?

Yes, that’s the api address I’m using.

https://api.coingecko.com/api/v3/simple/price?ids=one&vs_currencies=usd&include_market_cap=true&include_24hr_vol=true&include_24hr_change=true

Works fine for me

1 Like

The reson is, you have given me the result so i used in to the variable… if you are getting it in from api means, you must use web component, and the response only you have to store into the variable and do the rest… remaining are same

2 Likes

Yeah that’s it. It really worked for me. Thank you so much.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.