Skip to main content
Capitalization, streamlining.
Source Link
dlu
  • 1.7k
  • 2
  • 15
  • 29

How to clear of contents of string in arduinoArduino?

Currently i convertedI convert the charactercharacters in "char received[20]"char received[20] to string using this function "String randomString(received)"String randomString(received) and I am able to display it using "Serial.println(randomString)"Serial.println(randomString). After displaying the string, I would like to know the easiereasiest way how to clear of itout its contents? Kindly assist. Thanks!

How to clear of contents of string in arduino?

Currently i converted the character in "char received[20]" to string using this function "String randomString(received)" and I able to display it using "Serial.println(randomString)". After displaying, I would like to know the easier way how to clear of it contents? Kindly assist. Thanks!

How to clear of contents of string in Arduino?

Currently I convert the characters in char received[20] to string using String randomString(received) and I am able to display it using Serial.println(randomString). After displaying the string, I would like to know the easiest way to clear out its contents.

Source Link
adrian.wong
  • 17
  • 1
  • 2
  • 3

How to clear of contents of string in arduino?

Currently i converted the character in "char received[20]" to string using this function "String randomString(received)" and I able to display it using "Serial.println(randomString)". After displaying, I would like to know the easier way how to clear of it contents? Kindly assist. Thanks!