help, cut character string

Avatar
  • updated

hello,

I have a piece of json data.

Image 3629

I got the temperature data with token setting : data[0].st , I want to just take the numeral data and remove the letter : 26.0C to 26.

Please help, thanks

Avatar
Jürgen Jürgenson

Hey,

Are you using String node or Double node for it? Try it with double see if its able to get the value. If not maybe you should use regex to get only the number values from it.