The StringHelper type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
![]() ![]() | FillString |
Fills a string with a given character to the given length.
|
![]() ![]() | FitString |
Fit a string into a given length, truncating or padding as necessary.
|
![]() ![]() | MatchCardinality |
Matches the cardinality of the element to the value to yield,
for example "1 elephant" or "2 elephants".
|
![]() ![]() | PadRight |
Pads a string to fit a minimum length by filling (on the right end)
with spaces if it is shorter than the given length.
|
![]() ![]() | Split |
Splits a string but with a bit more finesse than ![]() |
See Also