Click or drag to resize

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
public static string StringToCommandOptionName(
	string 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