如何每两个字符插入一个空格?
我想用空格分割字节字符串,例如 AAFF10DC
,这样它就变成 AA FF 10 DC
。
如何在 AutoIt (v3) 中执行此操作?
I would like to split byte strings, for example AAFF10DC
, with spaces, so it becomes AA FF 10 DC
.
How to do this in AutoIt (v3)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
示例使用
StringRegExpReplace( )
:返回
AA FF 10 DC
。Example using
StringRegExpReplace()
:Returns
AA FF 10 DC
.这有点丑陋,但它有效:
This is sorta ugly, but it works:
只是另一种方法而已。对于大量字节数据,我不建议使用这种方法。
Is just another way to do it. For huge amounts of byte data, I would not suggest using this method.