delorie.com/archives/browse.cgi | search |
From: | "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Some qusestions |
Date: | Wed, 14 Jan 1998 12:40:27 -0600 |
Organization: | Cornell University |
Lines: | 19 |
Sender: | asu1 AT cornell DOT edu (Verified) |
Message-ID: | <34BD069B.2FE5@cornell.edu> |
References: | <34BCDB23 DOT 6A22 AT wxs DOT nl> |
NNTP-Posting-Host: | 128 |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Nils van den Heuvel wrote: > And how do cut this string into little pieces: > > set ultrasnd=220,1,1,11,5 > (it's an environment variable) > > i want to get these pieces: > 220 > 1 > 1 > 11 > 5 > > in a variable of their own.... > Can someone help me with this? you can use strspn to parse the string. -- Sinan
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |