View Single Post
  #1   (View Single Post)  
Old 18th November 2008
bigb89 bigb89 is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 69
Default How to remove a word and everything after?

Hi guys,

Here's what I'm trying to do. Let's say I have the following line:

43.96.199.87 Bcast:43.96.199.255 Mask:255.255.255.0

How could I remove the word Bcast and anything after that word so that the line would look like this:

43.96.199.87

Please let me know of way that I can achieve this.

P.S. I really appreciate the help you guys have given me.
Reply With Quote