Reference for Wiring version 0023+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
| Class | String |
|---|---|
| Name | toCharArray() |
| Examples | String str = String("CCCP");
const char *array = str.toCharArray();
Serial.println(array); // Prints "CCCP" |
| Description | Returns an array of chars containing the characters of the string. |
| Syntax | toCharArray() |
| Returns | char[] |
| Usage | Application |

