Skip to content

Conversation

@mmkathurima
Copy link

Included:

  • Changed a constant referencing the new line character to a cross platform character i.e. Environment.NewLine. Using vbCrLf works on Windows. In this code, it is used in the IndexOf and LastIndexOf methods. The code as it is fails to consider the differences in line terminators across OSes and locating indices fails on non-Windows environments.
  • Addition of explicit types during variable declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant