Subject: Re: Why Doesn't Substing Work From: "W. Eliot Kimber" <eliot@xxxxxxxxxx> Date: Wed, 01 Apr 1998 15:58:41 -0600 |
At 03:51 PM 4/1/98 -0600, W. Eliot Kimber wrote: >Using Jade 1.1 and SP 1.3, I'm having trouble getting the substring >function to work. In one test, it always returns a null string, even for >this test: > >(substring "abcdef" 2 2) > >Which should return "bc" I think. Never mind. 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. Cheers, E. -- <Address HyTime=bibloc> W. Eliot Kimber, Senior Consulting SGML Engineer Highland Consulting, a division of ISOGEN International Corp. 2200 N. Lamar St., Suite 230, Dallas, TX 95202. 214.953.0004 www.isogen.com </Address> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Why Doesn't Substing Work, W. Eliot Kimber | Thread | Re: Why Doesn't Substing Work, Tony Graham |
Why Doesn't Substing Work, W. Eliot Kimber | Date | Tables on two or more pages, Jordi Mulet |
Month |