How do I search for the n-th occurrence of a character in a line?
To search for the n-th occurrence of a character in a line, you can prefix the ‘f’ command with a number. For example, to search for the 5th occurrence of the character @ in a line, you can use the command [email protected] This assumes the cursor is at the beginning of the line - and that this first character is not the one your are looking for.
Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.
Introduction to Recursion and Backtracking