Hi,
Substring2 function needs 2 parameters.
- The first one is the beginning position in the source string(from 0),
- And the second one would have to be the ending position (from 0). But in fact it is not, we have to add 1 to this position.
Why the ending position is not the true ending position, synthax would be better. Is there any useful reason for that?
Thank you for your answer.
Substring2 function needs 2 parameters.
- The first one is the beginning position in the source string(from 0),
- And the second one would have to be the ending position (from 0). But in fact it is not, we have to add 1 to this position.
Why the ending position is not the true ending position, synthax would be better. Is there any useful reason for that?
Thank you for your answer.