str_sep bug [message #7521] |
Mon, 25 November 1996 00:00 |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
I think that I have found a bug in the str_sep.pro function. Observe
the following:
IDL> t = 'apples, oranges, peaches'
IDL> print,str_sep(t,',')
apples oranges , peaches
IDL> print,str_sep(t,', ')
apples oranges nges, peaches
It appears that the last element is messed up when you add the space to
the separator it fails on the last element.
Any help would be appreciated.
Phil
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
|
|
|