String::setCharAt() \ Language (API) \ Wiring ALPHA 1.0
Author: Hernando Barragán
Description: Wiring is an electronic sketchbook and hardware electronics for developing ideas. It is a context for learning fundamentals of computer programming and prototyping with electronics within the context of the electronic arts.
Keywords: Wiring, Processing, Interactive Media, Electronic Arts, Programming, C, C++, Hernando Barragán

Search wiring.org.co:

Reference for Wiring version 0024+. 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 | ### setCharAt()
Examples |
    String str = String("CCCP");
    str.setCharAt(0,'1');
    Serial.println(str);  // Prints "1CCP"
Description | Sets 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 |
    setCharAt(index, ch)
Parameters |
index | int: the index of the character
ch | char: the character
Returns | none
Usage | Application

Updated on November 01, 2009 05:06:38pm PST