String charAt





String::charAt() \ Language (API) \ Processing 1.0
























Search processing.org:





Language (A-Z) \ Libraries \ Tools \ Environment \ Compare \ Troubleshooting






Reference for Processing version 1.0+. 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 charAt() Examples String str = "CCCP"; char c1 = str.charAt(0); char c2 = str.charAt(1); char c3 = str.charAt(str.length()-1); println(c1 + ":" + c2 + ":" + c3); // Prints 'C:C:P' Description Returns the character at the specified index. An index ranges from 0 to the length of the string minus 1. The first character of the sequence is at index 0, the next at index 1, etc. Syntax str.charAt(index) Parameters str String: any variable of type String index int: the index of the character Returns char Usage Web & Application

Updated on November 22, 2008 08:39:25pm PST












Processing was initiated by Ben Fry and Casey Reas. It is developed by a small team of volunteers.


© Info \

Site hosted by Media Temple!









Wyszukiwarka

Podobne podstrony:
String charAt
String charAt
String concat
String indexOf
STRING (3)
stringappendoperator
Strings LWB
String equals
StringSeqHolder
strings01
String substring
strings SP
function mysql real escape string
STRINGS
StringValueExp
StringClass

więcej podobnych podstron