string function question

 
I want to replace a portion of a string variable, what should I do, the following does not work

try to replace 3 by 0:

string a="12345";
StringSetChar(a,2,0);

the string remains the same

Besides, is there a complete list of functions, or a manual that can download?
tks
 
the manual says:

Sample

string str="abcdefgh";
string str1=StringSetChar(str, 3, 'D');
// str1 is "abcDefgh"


so I guess quotes are needed unless u wanted to replace it by the chr(0) - not sure the compiler handlesthis.

Yes, a downloadable documentation would be nice..