RhinoGetStringToCommandOptionName Method (String) |
Convert some arbitrary string value to a valid command option name
removing any invalid characters.
Namespace:
Rhino.Input
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax public static string StringToCommandOptionName(
string stringToConvert
)
Public Shared Function StringToCommandOptionName (
stringToConvert As String
) As String
Parameters
- stringToConvert
- Type: SystemString
String to convert.
Return Value
Type:
String
Returns null if the string is null or empty or if it contains nothing
but invalid characters. If the converted string is one or more
characters in length then the converted value is returned.
See Also