Hi, Jumping straight to the question. I have a minor confusion regarding (//b) however i do know that i marks the
word boundaries bwteen a word character and non-word character.
Here is output (both lines are used separately)
0 2 3 4 5 (for using //Print Start Index Line)
0 2 3 4 5( for using //Print End Index Line)
K & B said that in boundary words we should assume that a non-word character is added to the beginning and ending of the
string.
In case of running only //Print Start Index Line, it seems right as it prints start index of boundary between non-word characters and word characters.
In case of //Print End Index Line, i don't understood the same output, i assumed that the output would be (indexvalue for start + 1).
What i am missing here ? Why the output is same for print start index and printing end index ?
Thanks in advance ..