CliStringUtilStripSuffixes Method
Strips specific suffixes from the string.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.6.7
public static string StripSuffixes(
string value,
IEnumerable<string> suffixes,
bool ignoreCase = true
)
- value String
- A string instance.
- suffixes IEnumerableString
- Suffix strings to remove.
- ignoreCase Boolean (Optional)
- Whether to ignore case.
StringA new
String instance.