lookup
Return
Where the given ending is a "standard" line separator (i.e. \r, \n, or \r\n), return that. Otherwise an empty optional.
Parameters
ending
A string containing ONLY the line separator needle (e.g. \r, \n, or \r\n)
Where the given ending is a "standard" line separator (i.e. \r, \n, or \r\n), return that. Otherwise an empty optional.
A string containing ONLY the line separator needle (e.g. \r, \n, or \r\n)