We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9e31c commit c78b312Copy full SHA for c78b312
src/CommandLine/Text/TextWrapper.cs
@@ -155,13 +155,18 @@ private static List<StringBuilder> AddWordToLastLineOrCreateNewLineIfNecessary(L
155
}
156
157
158
+ /// <summary>
159
+ /// Return the right part of a string in a way that compensates for Substring's deficiencies
160
+ /// </summary>
161
private static string RightString(string str,int n)
162
{
163
return (n >= str.Length || str.Length==0)
164
? string.Empty
165
: str.Substring(n);
166
-
167
168
+ /// Return the left part of a string in a way that compensates for Substring's deficiencies
169
170
private static string LeftString(string str,int n)
171
172
0 commit comments