| |

VerySource

 Forgot password?
 Register
Search
View: 35|Reply: 5

How to remove the last column separator when using SaveAsAscii! ?

[Copy link]

1

Threads

3

Posts

4

Credits

Newbie

Rank: 1

Credits
4

 China

Post time: 2020-1-24 13:40:02
| Show all posts |Read mode
Export data with SaveAsAscii!
13396431111 | 12345 | 19930607000000 | 1 |
13396432222 | 12345 | 19930607000000 | 1 |
Just remove the "|" at the end of each line!
Reply

Use magic Report

1

Threads

3

Posts

4

Credits

Newbie

Rank: 1

Credits
4

 China

 Author| Post time: 2020-4-15 14:00:01
| Show all posts
Support yourself, does anyone encounter this problem?
Reply

Use magic Report

0

Threads

1

Posts

2

Credits

Newbie

Rank: 1

Credits
2

 China

Post time: 2020-4-17 19:30:02
| Show all posts
dwo.SaveAsAscii ("d:\test.txt", "~ t", "")
Reply

Use magic Report

1

Threads

3

Posts

4

Credits

Newbie

Rank: 1

Credits
4

 China

 Author| Post time: 2020-7-16 22:30:01
| Show all posts
Doesn't seem to be very easy to implement
Use FileOpen + Filewrite instead
The problem has been solved
Reply

Use magic Report

0

Threads

98

Posts

52

Credits

Newbie

Rank: 1

Credits
52

 China

Post time: 2020-7-17 00:15:01
| Show all posts
I have never seen data with saveasascii(), only blank lines. Halo.
Reply

Use magic Report

0

Threads

3

Posts

2

Credits

Newbie

Rank: 1

Credits
2

 China

Post time: 2020-7-17 20:45:01
| Show all posts
Find and replace as a string
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2020|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list