Forum Discussion
del
8 years agoContributor III
You may be able to use string.match() or string.search() for your case. Your regex would be something like /\n/ for LF or /\r/ for CR.
You may be able to use string.match() or string.search() for your case. Your regex would be something like /\n/ for LF or /\r/ for CR.