Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Checks for multiple occurrences of the same string literal within a single file. Code duplication makes maintenance more difficult, so it can be better to replace the multiple occurrences with a constant.
New to GrepCode? Check out our FAQ X