比特币通信协议 - 币圈消息

比特币通信协议篇11、二、TURN简介。在典型的情况下,TURN客户端连接到内网中,并且通过一个或者多个NAT到 详细

想问一下各位大神一个关于MQL4自定义函数的问题?

  [复制链接]
93 7
l6787494 发表于 2016-3-11 00:30:00 | 只看该作者 |阅读模式 打印 上一主题 下一主题
在MQL4里面有没有什么函数可以载取字符串的啊?比方说我读取了订单的备注,但是备注是ALI123,但是我想将这个备注分开来判断,先判断ALI,然后再判断123,用什么方法可以解决
收藏
收藏0
转播
转播
分享
分享
分享
淘帖0

精彩评论7

跳转到指定楼层
沙发
tempasdf 发表于 2016-3-12 19:58:33 | 只看该作者
StringSubstr
Extracts a substring from a text string starting from the specified position.
string  StringSubstr(
   string  string_value,     // string
   int     start_pos,        // position to start with
   int     length=0          // length of extracted string
   );

Parameters
string_value
[in]  String to extract a substring from.
start_pos
[in]  Initial position of a substring. Can be from 0 to StringLen(text) -1.
length=0
[in] Length of an extracted substring. If the parameter value is equal or less than 0 or parameter isn't set, the substring will be extracted from the indicated position till the string end.
Return Value
Copy of a extracted substring, if possible. Otherwise returns an empty string.
板凳
HMGD 发表于 2016-3-12 22:30:00 | 只看该作者
希望对你有帮助

地板
wx_tVhVDi59 发表于 2016-3-17 16:49:58 | 只看该作者
刷金币,穷
5#
 楼主| l6787494 发表于 2016-3-26 19:28:05 | 只看该作者
相当大的帮助谢谢
6#
落落Triste 发表于 2016-10-16 23:37:50 | 只看该作者
一样有用 学习了
7#
EUR168 发表于 2017-7-18 12:48:20 | 只看该作者
回复可见什么的我最喜欢了 ,O(∩_∩)O哈哈~
8#
福相随 发表于 2017-7-18 13:24:07 | 只看该作者
伸手习惯了,慢慢我的习气就变坏了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

发布主题
阅读排行更多+

Powered by 顺水鱼MT4外汇EA网! X3.2© 2001-2017 顺水MT4外汇EA公司.( 陕ICP备17014341号-1