The Wiring 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: hbarragan [at] uniandes.edu.co
Class
String
Name
capacity()
Examples
String str = "CCCP";
int c = str1.capacity();
Serial.println(c, DEC);
Description
Returns the capacity of the string as an integer number. Note: You can find that the internal capacity of a string may differ from the length of it. It is possible to have a String with a capacity of 16 characters but the length of the string that holds to be of just 6 characters.