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.
Asked
Active
Viewed 56 times
0

The Design Artisan
- 23
- 3
-
1There is. You can find it in MSDN. There are even two functions for that. – Adriano Repetti Apr 06 '16 at 12:15