Command to get post title?

Topics: ASP.NET 2.0
Mar 24, 2011 at 7:39 PM
Edited Mar 24, 2011 at 7:39 PM

Ok so i have a post called "Gain Mass using Strength Training Routines"

And its url is http://www.muscletitans.com/post/2011/03/13/Gain-Mass-using-Strength-Training-Routines.aspx

 

Using Post.Title, i get "Gain Mass using Strength Training Routines", but what i want is "Gain-Mass-using-Strength-Training-Routines". I need this so that all characters such as ":" will be omitted in the path. Is there a command to get this?

 

Thanks

Mar 25, 2011 at 8:10 AM

Bump, anyone know?

Coordinator
Mar 25, 2011 at 12:29 PM

Post.Slug

Mar 25, 2011 at 8:03 PM

Thanks, just what i needed