This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Need to get # line out of very long channel ....

Old posts that have not been replied to for several years.
Locked
D
Drewbu

Post by Drewbu »

I need to # line out of very long channel...
How can i do that?
plzz help
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

I'm not sure what you are asking about exactly but maybe:

regsub -all "#" $line "" line
Elen sila lúmenn' omentielvo
D
Drewbu

Post by Drewbu »

ok ...
I get data fron socket ... so its very long about 1000 lines ...
how can i get 250th line ... or any other?
just one
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

Read in all the data. Use split with n to turn it into a list. Use lindex to get whatever line number you want.
D
Drewbu

Post by Drewbu »

thx
Locked