string.Split(int)

Here are the examples of the csharp api string.Split(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : StringHelper.cs
with MIT License
from JanDotNet

public static string Wrap(this string singleLineString, int columns)
            => string.Join(Environment.NewLine, singleLineString.Split(columns));