| |

VerySource

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

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

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 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.00

Credits

Newbie

Rank: 1

Credits
4.00

 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.00

Credits

Newbie

Rank: 1

Credits
2.00

 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.00

Credits

Newbie

Rank: 1

Credits
4.00

 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

100

Posts

53.00

Credits

Newbie

Rank: 1

Credits
53.00

 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.00

Credits

Newbie

Rank: 1

Credits
2.00

 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-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list