Need to get length of a string minus the line feed chars and came up with this. Is there a better/more efficient way?
Code:Function GetLenMinus_LF(s As String) As Integer s = s.Replace(ControlChars.Lf, String.Empty) Return s.Length End Function
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |