Re: Example use of findstring in documentation can be problematic

2013-04-20 Thread Paul Smith
On Fri, 2013-04-19 at 18:07 -0600, David Sankel wrote: In section 7.3 and 8.2 the function 'findstring' is recommended as a means to search a space separated list for a given value. This suggestion is problematic as findstring really searches for substrings. So, for example $(findstring

Example use of findstring in documentation can be problematic

2013-04-19 Thread David Sankel
In section 7.3 and 8.2 the function 'findstring' is recommended as a means to search a space separated list for a given value. This suggestion is problematic as findstring really searches for substrings. So, for example $(findstring car,bicicle airplain carriage) will return a non-empty value.