2

Where did substr() and substring() originate? Why are there two methods to do the same thing with slightly different behaviours?

No programmer in their right mind would create two methods with different behaviour where the only difference in the name is the one is an abbreviated version of the other, so how did this happen?

Clonkex
  • 3,373
  • 7
  • 38
  • 55

0 Answers0