HelperFirstNotEmpty Method |
Returns the first string that is not null or empty, or an empty string if none
Namespace: Seal.HelpersAssembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntaxpublic static string FirstNotEmpty(
string str1,
string str2 = null,
string str3 = null,
string str4 = null,
string str5 = null
)
Parameters
- str1 String
-
- str2 String (Optional)
-
- str3 String (Optional)
-
- str4 String (Optional)
-
- str5 String (Optional)
-
Return Value
String
See Also