ScanUtilsquoteIfHaveSpaces Method |
Wraps with quotes if string contains space.
Namespace: asprise_imaging_apiAssembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static string quoteIfHaveSpaces(
string s,
bool expandEnvVars = true
)
Public Shared Function quoteIfHaveSpaces (
s As String,
Optional expandEnvVars As Boolean = true
) As String
public:
static String^ quoteIfHaveSpaces(
String^ s,
bool expandEnvVars = true
)
static member quoteIfHaveSpaces :
s : string *
?expandEnvVars : bool
(* Defaults:
let _expandEnvVars = defaultArg expandEnvVars true
*)
-> string
Parameters
- s
- Type: SystemString
- expandEnvVars (Optional)
- Type: SystemBoolean
Return Value
Type:
StringSee Also