Arduino- Node Red Dashboard Separate Sensor Data Logging

Ok, if debug is correct, put function node between serial in and gauge.

Change substring value from picture for correct value.
Also change "A" with "ldr=" or "cel=".

Substring explanation https://www.w3schools.com/jsref/jsref_substring.asp