HtmlGetParam
Sub HtmlGetParam($tagSource As String, $paramName As String) As String
Searches $tagSource for the first occurrence of the parameter $paramName and returns its value.
If the parameter $paramName is not found, an empty string is returned.
Parameters
- $tagSource ... String expression in which the search is performed.
- $paramName ... String expression. Name of the parameter to search for.
Example:
Dim $sTagSource, $sValue
$sTagSource = "Click <a href=info.htm>here</a> for more information"
$sValue = HtmlGetParam($sTagSource, "href")
' returns $sValue = "info.htm"