How to get specific data from string?

this API must return a degree value

https://api.thingspeak.com/apps/thinghttp/send_request?api_key=TUNCN4TIG6D4O9YN

String line = Client.readStringUntil('\n');

on serial monitor the result is

12:31:54.879 -> HTTP/1.1 200 OK

12:31:54.879 -> Date: Thu, 08 Dec 2022 09:31:53 GMT

12:31:54.879 -> Content-Type: text/html; charset=utf-8

12:31:54.973 -> Transfer-Encoding: chunked

12:31:54.973 -> Status: 200 OK

12:31:54.973 -> Cache-Control: max-age=0, private, must-revalidate

12:31:55.066 -> X-Request-Id: f3840c8f-f96b-4068-ac29-c2d75eeeed69

12:31:55.113 -> ETag: W/"680e1189b897d64a4795735da1a76642"

12:31:55.160 -> Connection: close

12:31:55.160 ->

12:31:55.160 -> 6

12:31:55.209 -> 33.8°

12:31:55.209 -> 0

12:31:55.209 ->

12:31:55.209 ->

how to get just this value 33.8°?

Have you tried toFloat() - Arduino Reference

if a line of text contains the character ° use toFloat() to read the value as suggested by @killzone_kid
otherwise ignore the line

how to ignore lines from string and just get value is there any example code?

read the line of text into a String then look for ° Unicode character

[code]
// look for 33.8° in text stream

void setup() {
  Serial.begin(115200);
}

void loop() {
  if (Serial.available()) {
    String s = Serial.readStringUntil('\n');
    Serial.print("input String ");Serial.println(s);
    if (s.indexOf("°") >= 0) { // look for character
      Serial.print("   character ° found - float value parsed ");
      Serial.println(s.toFloat());
    }
  }
}
[/code]

a run gives

input String test1
input String test2
input String 33.8°
   character ° found - float value parsed 33.80
input String test3

if ° is found s.indexOf("°") >= 0 call toFloat()

Do you have the sketch that is loaded on your Arduino? Without that, it may be impossible to tell you how to interpret the raw ThingSpeak data.