Sub HtmlGetParam($tagSource As String, $paramName As String) As String
|
Searches in $tagSource for the first occurrence of the parameter $paramName and returns the parameter value.
If the parameter $paramName isn't found, an empty string is returned.
Parameters
• | $tagSource ... String expression sought. |
• | $paramName ... String expression. Parameter name searched. |
Example:
Dim $sTagSource, $sValue
$sTagSource = "Click <a href=info.htm>here</a> for more information"
$sValue = HtmlGetParam($sTagSource, "href")
' returns $sValue = "info.htm"
|
|