JCL Help:CharIsReturn@AnsiChar

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether C is a return character.


Pascal

 function CharIsReturn(const C: Char): Boolean;
function CharIsReturn(const C: AnsiChar): Boolean;


Parameters

Parameters Description
const C: Char Character to test.


Return Value

If C is a return character the result is True, otherwise the result is False.


Description

CharIsReturn returns whether C is a return character. In this context both the carriage return (#13) as well as the linefeed (#10) are considered return. characters.


About

Unit

JclAnsiStrings


Donator

Anthony Steele


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page