I have a repeater that displays data from my Projects table. There are projectId, name and description. I use Substring(1, 240) on description. But sometimes the string is s
You can use LINQ as below:
string someString = "abcde"; string subStr = string.Join("", someString.Take(240));