Re:Wikifunctions
by threatofrain on Wednesday December 06, 2023 @07:54PM
(#38551544)
As long as your language includes an empty string concept, why not? Similarly, is an empty array a subarray of any array? And on the other end, can you have an empty number boolean?
[ Parent
| on HN ]
Re:Wikifunctions
by avereveard on Wednesday December 06, 2023 @10:01PM
(#38552307)
But then if empty string are part of a string at what index do you find an empty string within a string you cannot dereference the space between letters
At every index of course, including one past the last character.
You don't need to dereference anything here as the empty string has length 0.
Re:Wikifunctions
by avereveard on Monday December 11, 2023 @11:47AM
(#38602168)
I see thanks