DotMake Command-Line Documentation
C#
Show/Hide TOC
String
Extensions
Remove
Prefix Method
Removes prefixes (-, --, /) from the string.
Definition
Namespace:
DotMake.CommandLine
Assembly:
DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 1.8.8
C#
Copy
public
static
string
RemovePrefix
(
this
string
alias
)
Parameters
alias
String
A string instance.
Return Value
String
A new
String
instance.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
StringExtensions Class
DotMake.CommandLine Namespace
In This Article
Definition
Parameters
Return Value
Usage Note
See Also