-
Notifications
You must be signed in to change notification settings - Fork 0
9787a2d4 93d1 2bab 7f08 e4dff406aec4
Axel Kesseler edited this page Oct 3, 2019
·
2 revisions
Extracts the unit name from provided format string.
Namespace: Plexdata.Formatters
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1
C#
private string GetUnit(
string format
)
- format
- Type: System.String
The format string to extract the unit name from.
Type: String
The unit name or an empty string.
This method extracts the unit name from provided format string by stripping out any digits. This actually has the effect that something like "1m2b" would become "mb".
Plexdata Capacity Converter