StringGetChar( )字符串指定位置代码【字符串篇-MQL4函数】
int StringGetChar( string text, int pos)
从字串符指定位置返回代码。
参数:
text - 字串符。
pos - 取字符的位置 。可以自0 至 StringLen(text)-1。
示例:
int char_code=StringGetChar("abcdefgh", 3);
// 取出代码 'c' 是 99
谢谢分享 感谢分享 感谢分享 看看。。感谢分享。。。。
页:
[1]