|
RVIsURL, RVIsEmail Functions |
Top Previous Next |
|
These function return True if the string is URL or e-mail address. Unit RVFuncs. function RVIsURL(const s: String): Boolean; function RVIsEmail(const s: String): Boolean; (introduced in version 10) First, RVIsURL calls RVIsCustomURL. If it returns False, RVIsURL checks for the following prefixes: ▪http:// ▪ftp:// ▪file:// ▪gopher:// ▪mailto: ▪https:// ▪news: ▪telnet: ▪wais: ▪'www. ▪ftp. In TRichView, this function is used to ignore URLs in live spelling check.Besides, it is used in demo projects and in RichViewActions. See also: how to create a chat window. |