que pasa con los Function...End Function en .NET ?? ya no se utilizan?
Por ejemplo tengo esta función..:
Cita:
Cuando la uso en .NET me da error...!Function interpretarHTML(str)
dim strTemp as string
strTemp = str
If (strTemp<>"") Then
strTemp = Replace(strTemp,"+lt;","<")
strTemp = Replace(strTemp,"+gt;",">")
strTemp = Replace(strTemp,"+acute;","'")
End if
interpretarHTML = strTemp
End Function
dim strTemp as string
strTemp = str
If (strTemp<>"") Then
strTemp = Replace(strTemp,"+lt;","<")
strTemp = Replace(strTemp,"+gt;",">")
strTemp = Replace(strTemp,"+acute;","'")
End if
interpretarHTML = strTemp
End Function
ahí queda mi duda...
Un abrazo
