As a non-.NET programmer I\'m looking for the .NET equivalent of the old Visual Basic function left(string, length). It was lazy in that it worked for any lengt
left(string, length)
You could make your own:
private string left(string inString, int inInt) { if (inInt > inString.Length) inInt = inString.Length; return inString.Substring(0, inInt); }
Mine is in C#, and you will have to change it for Visual Basic.