I have a paragraph in @Model.FileName , I want to display first 20 characters. Any easy possible solution. Here I means as substr() function work in PHP. I want same in .NET.
@Model.FileName
substr()
in .net it is called Substring it will be there for any string
Substring