StringHelper MethodsCleanCode C# Libraries v1.2.03 API
The StringHelper type exposes the following members.
Methods

  NameDescription
Public methodStatic memberFillString
Fills a string with a given character to the given length.
Public methodStatic memberFitString
Fit a string into a given length, truncating or padding as necessary.
Public methodStatic memberMatchCardinality
Matches the cardinality of the element to the value to yield, for example "1 elephant" or "2 elephants".
Public methodStatic memberPadRight
Pads a string to fit a minimum length by filling (on the right end) with spaces if it is shorter than the given length.
Public methodStatic memberSplit
Back to Top
See Also