Page 1 of 1

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

Posted: Sat Nov 15, 2014 4:35 am
by JB_AU
How do you handle [TAB] delimited files.
wmic.fsm
(2.62 KiB) Downloaded 848 times


The data i get from clipboard is tab delimited :?

Re: How do you handle [TAB] delimited files

Posted: Sat Nov 15, 2014 8:07 am
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.

Re: How do you handle [TAB] delimited files

Posted: Sat Nov 15, 2014 8:23 am
by JB_AU
How can i replace the space for a different character ?

Re: How do you handle [TAB] delimited files

Posted: Sat Nov 15, 2014 8:26 am
by Tronic
@label.squeeze(' ').split.join("-")

Re: How do you handle [TAB] delimited files

Posted: Sat Nov 15, 2014 12:27 pm
by JB_AU
Cool thanx a bunch :D