SyntaxFix
Write A Post
Hire A Developer
Questions
I did mine in one line sort of like this
value = value.Length > 1000 ? value.Substring(0, 1000) : value;