SUBSTRING function example poorly documented

Avatar
  • updated
  • Closed

The documentation for the SUBSTRING function is inconsistent, incorrect in one place and poorly documented in the other.



The first explanation is just incorrect. The second explanation contradicts itself by stating that "characters .. through 9" are returned, which is clearly inclusive of 9, and then character 9 is stated as being excluded (which contradicts the meaning of the term "through").

Both explanations could be corrected by simply saying either:
SUBSTRING(Name, 5, 4) = 'TEST': Sessions where characters 5 through 8 of the name are "TEST"
or
SUBSTRING(Name, 5, 4) = 'TEST': Sessions where characters 5-8 of the name are "TEST"
Pinned replies
Avatar
0
anonymous
  • Answer
  • Closed

Hi Darren,

We'll share this comment with our documentation team. Thank you. 

Avatar
0
anonymous
  • Answer
  • Closed

Hi Darren,

We'll share this comment with our documentation team. Thank you. 



Top contributors

Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar