Minimod.PrettyText
                             
                            
                                2.0.1
                            
                        
                    dotnet add package Minimod.PrettyText --version 2.0.1
NuGet\Install-Package Minimod.PrettyText -Version 2.0.1
<PackageReference Include="Minimod.PrettyText" Version="2.0.1" />
<PackageVersion Include="Minimod.PrettyText" Version="2.0.1" />
<PackageReference Include="Minimod.PrettyText" />
paket add Minimod.PrettyText --version 2.0.1
#r "nuget: Minimod.PrettyText, 2.0.1"
#:package Minimod.PrettyText@2.0.1
#addin nuget:?package=Minimod.PrettyText&version=2.0.1
#tool nuget:?package=Minimod.PrettyText&version=2.0.1
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.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Minimod.PrettyText:
| Package | Downloads | 
|---|---|
| Minimod.PrettyPrint Creates nice textual representations of any objects. Mostly meant for debug/informational output. | 
GitHub repositories
This package is not used by any popular GitHub repositories.