Mailinglist Archive: opensuse (4053 mails)

< Previous Next >
splitting a string
  • From: "S.Toms" <smotrs@xxxxxxxxxxxxxx>
  • Date: Wed, 8 Aug 2001 21:48:41 -0700 (PDT)
  • Message-id: <Pine.LNX.4.21.0108082142220.30006-100000@xxxxxxxxxxxxxxxxxxx>
Quick question for everyone, I want to beable to split a string that
contains a colon at the colon, for example

4.23.242.12:2323

I'd like to remove the colon and whatever follows it. Unfortunately, I
havn't figured out a way to do it with what I know.

--
S.Toms - smotrs@xxxxxxxxxxxxxx - www.mindspring.com/~smotrs
SuSE Linux v7.0+ - Kernel 2.2.18

Silverman's Law:
If Murphy's Law can go wrong, it will.


< Previous Next >