删除特定位置的文本文件中的零 [英] removing a zero inside a text file in specific position
问题描述
大家好,
我试图让VBScript读入txt文件并删除该文件中的前导零。任何想法?
所以在"TASO"中行,值必须是 597782365而不是 0597782365和 577989008
而不是 0577989008。
"HEADR","TASO","FEL","KOP","KIP", "ELL",20090401,"182708","PS001234","PRDCT",2,2
122345"
"TASO",98,"","","CARLTON HEMM",""","LAMP","OP100","9APPL", 0577989008," G4A08233889901",5," CM"," M",1.000,"       44574",20090102,20110419,"      
16597"
赞赏的任何输入。
这个问题在本论坛是关闭主题,因为它是Visual Basic Net的论坛。
也许此链接可以帮助您朝着正确的方向发展
http://technet.microsoft.com/en-US/scriptcenter/default.aspx
Hi guys,
Im trying to make a VBScript to read into a txt file and strip out the leading zeros in that file. Any ideas?
So in the "TASO" lines, the values need to be 597782365 instead of 0597782365 and 577989008 instead of 0577989008.
"HEADR","TASO","FEL","KOP","KIP","ELL",20090401,"182708","PS001234","PRDCT",2,2
"TASO",59,"","","CHESTWAY","DESK","UK","UK59","0OJ",0597782365,"L1059957461M",5,"AT","M",1.000," 00293",20101243,20325556," 122345"
"TASO",98,"","","CARLTON HEMM","","LAMP","OP100","9APPL",0577989008,"G4A08233889901",5,"CM","M",1.000," 44574",20090102,20110419," 16597"
Any inputs in appreciated .
This question is Off Topic in this forum as it is a forum for Visual Basic Net.
Maybe this link will help you in the right direction
http://technet.microsoft.com/en-US/scriptcenter/default.aspx
这篇关于删除特定位置的文本文件中的零的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!