Subject: Re: Why Doesn't Substing Work From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx> Date: Thu, 2 Apr 1998 12:35:39 -0500 (EST) |
At 2 Apr 1998 11:18 -0600, W. Eliot Kimber wrote: > At 11:45 AM 4/2/98 -0500, Tony Graham wrote: > >At 1 Apr 1998 15:58 -0600, W. Eliot Kimber wrote: > > > I just realized that the second argument is not a length but the character > > > that is the last character of the substring. Too many years of Rexx and > > > Perl programming. > > > >The arguments to substring should be a string, a number, and a number. > > Right, but the second number is an index, not a length. Thus: Forgive me, it sounded like you were supplying a character (e.g. #\a) as the second argument. Regards, Tony Graham ======================================================================= Tony Graham Mulberry Technologies, Inc. Phone: 301-315-9632 17 West Jefferson Street, Suite 207 Fax: 301-315-8285 Rockville, MD USA 20850 email: tgraham@xxxxxxxxxxxxxxxx ======================================================================= DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Why Doesn't Substing Work, W. Eliot Kimber | Thread | Re: Why Doesn't Substing Work, W. Eliot Kimber |
Re: Why Doesn't Substing Work, W. Eliot Kimber | Date | Re: Why Doesn't Substing Work, W. Eliot Kimber |
Month |