[Done]How do you handle [TAB] delimited files

For general discussion related FlowStone
Post Reply
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

[Done]How do you handle [TAB] delimited files

Post by JB_AU »

How do you handle [TAB] delimited files.
wmic.fsm
(2.62 KiB) Downloaded 847 times


The data i get from clipboard is tab delimited :?
Last edited by JB_AU on Tue Nov 18, 2014 4:20 am, edited 1 time in total.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: How do you handle [TAB] delimited files

Post by Tronic »

Code: Select all

@label.squeeze(' ')

This remove any extra space from the string.
FS not render TAB character, i think the GDI need this command to set it SetTabStops.
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: How do you handle [TAB] delimited files

Post by JB_AU »

How can i replace the space for a different character ?
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: How do you handle [TAB] delimited files

Post by Tronic »

@label.squeeze(' ').split.join("-")
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: How do you handle [TAB] delimited files

Post by JB_AU »

Cool thanx a bunch :D
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
Post Reply