Determines the end-of-line (EOL) sequence used in the provided string.
Checks if the input string contains a carriage return and line feed sequence (Strings_CR_LF).
If found, returns Strings_CR_LF; otherwise, returns Strings_LF.
Parameters
data: string
The string to inspect for EOL sequences.
Returns "\n"|"\r\n"
The detected EOL sequence, either Strings_CR_LF or Strings_LF.
Determines the end-of-line (EOL) sequence used in the provided string.
Checks if the input string contains a carriage return and line feed sequence (
Strings_CR_LF
). If found, returnsStrings_CR_LF
; otherwise, returnsStrings_LF
.