JCL Help:StrIsAlpha@AnsiString

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests whether S contains only alpha characters.


Pascal

 function StrIsAlpha(const S: string): Boolean;
function StrIsAlpha(const S: AnsiString): Boolean;


Parameters

Parameters Description
const S: string The string to test


Return Value

If S contains only alpha characters the result is True, otherwise the result is False.


Description

StrIsAlpha tests whether the supplied string consists only of alpha characters. That is, whether or not all individual characters come from the ['a'..'z', 'A'..'Z'] set.


See Also

StrConsistsOfNumberChars StrIsAlphaNum


About

Unit

JclAnsiStrings


Donator

Nick Hodges


Notes

If S is an empty string the result is False.


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