Click or drag to resize

imbStringFormatstoExpressionString Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns expression-ready string, wrapped in proper quotes if required

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string toExpressionString(
	this Object source,
	string valueForNull = """",
	string quote = """
)
Request Example View Source

Parameters

source
Type: SystemObject
The source.
valueForNull (Optional)
Type: SystemString
The value for null.
quote (Optional)
Type: SystemString

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. 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