kalls
kalls

Reputation: 2855

ASP - Removing Double quotes from a string

I have a ASP Page and it has so many date variables.

myvariable = FormatParameter("EndDate")

EndDate is "10/01/2001"

How can I remove the double quotes from the date variable? so that it can be 10/01/2001.

I can do this in .NET but couldn't find a way to do it in ASP.

Any help is greatly appreciated.

Upvotes: 7

Views: 18561

Answers (1)

bfavaretto
bfavaretto

Reputation: 71908

myvariable = Replace(FormatParameter("EndDate"), """", "")

Upvotes: 13

Related Questions