StringSetChar

2019/07/17 19:00
76

string StringSetChar(string text, int pos, int value)

文字列の指定位置に文字をコピーする。

Parameters:
text - 文字列
pos - 位置。0からStringLen(text)-1の範囲。
value - ASCIIコード
Sample:
string str=“abcdefgh”;
string str1=StringSetChar(str, 3, ‘D’);
// str1 is “abcDefgh”

コメント