Link to home
Create AccountLog in
Avatar of pratikshahse
pratikshahse

asked on

format a variable value in View -- MVC

In my view I am getting an address value from my model.

Address is coming up as

adressline 1 | adress line 2 | City | State | zip

I wont this to be formatted in such a way that it shows up as

addressline 1
addressline2
City, State, Zip
ASKER CERTIFIED SOLUTION
Avatar of Lokesh B R
Lokesh B R
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account