Minimod.PrettyText 2.0.0

dotnet add package Minimod.PrettyText --version 2.0.0                
NuGet\Install-Package Minimod.PrettyText -Version 2.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Minimod.PrettyText" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Minimod.PrettyText --version 2.0.0                
#r "nuget: Minimod.PrettyText, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Minimod.PrettyText as a Cake Addin
#addin nuget:?package=Minimod.PrettyText&version=2.0.0

// Install Minimod.PrettyText as a Cake Tool
#tool nuget:?package=Minimod.PrettyText&version=2.0.0                

Extends System.String/IEnumerable<string> by following methods:
   
     a) ShortenTo(int length, string hint = "..."):
          Crops a text to fit into certain number of chars. Appends 'hint' if it has to be cropped;
     
     b) WrapAt(int margin):
          Nicely wraps a text at the given margin. Tries not to split in the middle of words.
     
     c) SplitLines, JoinLines:
          Splits a string into a list of lines; or joins it. Both using Environment.NewLine
     
     d) IEnumerable<string>.IndentBy(int leadingChars):
          Indents a each of a list of lines by given number of spaces.
          
     e) string.IndentLinesBy(int leadingChars):
          Indents each line in the string by given number of spaces.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 461 9/25/2012
1.0.0 51 8/4/2011
0.9.9 50 8/3/2011
0.9.8 55 7/27/2011
0.9.7 52 7/7/2011
0.9.6 51 7/4/2011
0.9.5 50 7/4/2011
0.9.3 52 7/4/2011
0.9.2 56 7/4/2011