IsURL Function

Check if a string expression contains a valid URL address.

IsURL (String)

Parameters

String  -  (Input, expression, Required)

Specifies the URL address to check.

Return Value

Returns True if the string is looks like a valid URL, otherwise False.

Examples

IsURL (“http://”)

Returns False

IsURL (“http://www.looksoftware.com”)

Returns True

IsURL (“www.looksoftware.com”)

Returns False

IsURL (“mailto://[email protected]“)

Returns True

IsURL (Null)

Returns False

IsURL (Error)

Returns False

TIP:

Functions are specifically for use in the Macro Editor. Refer to Microsoft's official VB and JScript documentation for scripting equivalents.

See Also

UBound Function | IsArray function | IsDate function | IsEmpty function | IsError function | IsNull function | IsNumeric function | IsSpaces function | IsURL function


© 2004-2021 looksoftware. All rights reserved.