Click or drag to resize

imbStringExtensionsor Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns the first value if its not null or empty, otherwise iterates other parameters and pick the first valid

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string or(
	this string first,
	params string[] orThese
)
Request Example View Source

Parameters

first
Type: SystemString
The first.
orThese
Type: SystemString
The or these.

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 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).
Exceptions
ExceptionCondition
[!:aceGeneralException]None of these argument is value - null - or(first, ... orThese others)
See Also