User Tools

Site Tools


syntax:functions:isurl

IsURL(text)

Category: Text function


Description

This function tests if text is a valid web address (URL). If so, TRUE is returned, otherwise, FALSE.


Arguments

ArgumentTypeDescription
textTextThe text string to be tested as being a valid URL.


Return value type: Boolean (TRUE/FALSE)


Remarks

This function is case-insensitive.


Examples

isurl("http://www.easymorph.com") //Returns TRUE
isurl("http://www.EASYMORPH.com") //Returns TRUE
isurl("www.easymorph.com") //Returns FALSE


See also

syntax/functions/isurl.txt · Last modified: 2024/10/21 14:14 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki