hankknight
asked on
ASP.NET / VB: Replace US State Abbreviations with Names
How can I replace state abbreviations with state names using ASP.NET and VB?
<%@ Page Language="VB" AutoEventWireup="false" %>
<%
Dim array(,) As Object = { _
{"ak","Alaska"}, _
{"al","Alabama"}, _
{"ca","California"} _
}
Dim Xyz As String = "Lakes in ak are cold cold but it is always hot in AL and can be hot or cold in ca"
Response.Write(xyz)
' Should say:
' Lakes in Alaska are cold cold but it is always hot in Alabama and can be hot or cold in California
%>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I posted a related question here:
https://www.experts-exchange.com/questions/27867280/ASP-NET-VB-Compiler-Error-Message-BC30068-Expression-is-a-value-and-therefore-cannot-be-the-target-of-an-assignment.html