Can you please tell me how can I parse a string if I create instances of Label? Here is the constructor:
public TextManager(RichTextBox rtb, Label insideTemp, Label outsideTemp, Label huMidity, Label lightLevel) { _displayWindow = rtb; _insideTemperature = insideTemp; _outsideTemperature = outsideTemp; _humidityLevel = huMidity; _lightLevel = lightLevel; } Then I have to parse the input string, say - "temp1 = 25C, temp2 = 33, humidity = 85, light level = 57 \ r"; And I don’t understand how to work with a copy, or I don’t understand it at all ... Please, give me good advice. I would be grateful for any answer.
"temp1 = 25C, temp2=33, humidity = 85, light level = 57 \r"and display the values in 4 correspondingLabel? - user227049