Changes between Initial Version and Version 1 of Ticket #1835, comment 2


Ignore:
Timestamp:
04/23/24 18:23:06 (7 weeks ago)
Author:
siiky
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1835, comment 2

    initial v1  
    11{{{(substring=? "" "" 0 0 0)}}} results in a range error too. Sorry I forgot to update this ticket the other day.
    22
    3 I believe the problem is in the lines {{{(##sys#check-range start1 0 (##sys#size s1) 'substring=?)}}}, when the string is empty -- it amounts to {{{##sys#check-range 0 0 0 'substring=?)}}}.
     3I believe the problem is in the lines {{{(##sys#check-range start1 0 (##sys#size s1) 'substring=?)}}}, when the string is empty -- it amounts to {{{(##sys#check-range 0 0 0 'substring=?)}}}.
    44
    55I can't tell what the obvious fix is, if there is one. Return {{{#t}}} if one of the strings is empty?