View Single Post
Old 01-21-2006, 10:12 AM  
Validus
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Calgary, Canada
Posts: 4,012
Quote:
Originally Posted by RocketFlow
Here is your example in C#:

Code:
String myLongString = "This is a very long text. This is a very long text. This is a very long text. This is a very long text. This is a very long text. This is a very long text. This is a very long text. ";
String myShortString = myLongString.Substring(0, 50);
HTH

Great, thanks to you as well... plug and play so to speak
Validus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote