找回密码
 加入
搜索
查看: 2269|回复: 2

[效率算法] 正则提取然后单独存入ini中?

[复制链接]
发表于 2014-7-24 14:29:43 | 显示全部楼层 |阅读模式
1.txt|6|16|txt文件

我想把这个用正则单独提取至INI中!

[1.txt]
1=6
2=16
3=txt文件
发表于 2014-7-24 16:59:53 | 显示全部楼层
你这个用不到正则吧?
#include <array.au3>
$ff = "1.txt|6|16|txt文件"
$ee = StringSplit($ff, "|")
$he = $ee[0] - 1
$he1 = 2
For $i =1 To $he

IniWrite ( "d:\123.ini", $ee[1],$i ,$ee[$he1])
$he1 = $he1 + 1
Next
 楼主| 发表于 2014-7-24 18:37:45 | 显示全部楼层
回复 2# austere


    谢谢!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-5 18:31 , Processed in 0.066687 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表