Checks if the given string contains only valid ASCII characters. Returns True if so or False otherwise.
Checks if the given string contains only valid ASCII characters. Returns True if so or False otherwise.
Tags: ascii character
Code Snippet:
function IsASCIIText(const Text: UnicodeString): Boolean;
begin
Result := EncodingSupportsString(Text, SysUtils.TEncoding.ASCII);
end;
ActionScript - ActionScript 3 - Apache - AppleScript - ASP - Assembler - Bash - C - C# - C++ - ColdFusion - CSS - Delphi - DOS Batch - Fortran - HTML - iPhone - Java - JavaScript - jQuery - Lisp - MatLab - Maxscript - MXML - MySQL - Objective C - Other - Pascal - Perl - PHP - PL SQL - Prolog - Pseudocode - Python - Rails - SmallTalk - Smarty - SML - SPSS - SQL - SVN - Symfony - TCL - VB.NET - Visual Basic - XHTML - XML - XSLT
© 2000-2015 Xentrik.Net