Class StringUtil
Inheritance
System.Object
StringUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FChoice.Common.dll
Syntax
public static class StringUtil
Methods
AreEqual(String, String)
Declaration
public static bool AreEqual(string firstVal, string secondVal)
Parameters
Type |
Name |
Description |
System.String |
firstVal |
|
System.String |
secondVal |
|
Returns
Type |
Description |
System.Boolean |
|
AreEqual(String, String, Boolean)
Declaration
public static bool AreEqual(string firstVal, string secondVal, bool ignoreCase)
Parameters
Type |
Name |
Description |
System.String |
firstVal |
|
System.String |
secondVal |
|
System.Boolean |
ignoreCase |
|
Returns
Type |
Description |
System.Boolean |
|
AreEqual(String, String, Boolean, Boolean)
Declaration
public static bool AreEqual(string firstVal, string secondVal, bool ignoreCase, bool cultureNeutral)
Parameters
Type |
Name |
Description |
System.String |
firstVal |
|
System.String |
secondVal |
|
System.Boolean |
ignoreCase |
|
System.Boolean |
cultureNeutral |
|
Returns
Type |
Description |
System.Boolean |
|
AreEqual(String, String, Boolean, CultureInfo)
Declaration
public static bool AreEqual(string firstVal, string secondVal, bool ignoreCase, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.String |
firstVal |
|
System.String |
secondVal |
|
System.Boolean |
ignoreCase |
|
System.Globalization.CultureInfo |
culture |
|
Returns
Type |
Description |
System.Boolean |
|
IsNonEmptyString(String)
Declaration
public static bool IsNonEmptyString(string val)
Parameters
Type |
Name |
Description |
System.String |
val |
|
Returns
Type |
Description |
System.Boolean |
|
StartsWith(String, String)
Declaration
public static bool StartsWith(string origVal, string startVal)
Parameters
Type |
Name |
Description |
System.String |
origVal |
|
System.String |
startVal |
|
Returns
Type |
Description |
System.Boolean |
|
StartsWith(String, String, Boolean)
Declaration
public static bool StartsWith(string origVal, string startVal, bool ignoreCase)
Parameters
Type |
Name |
Description |
System.String |
origVal |
|
System.String |
startVal |
|
System.Boolean |
ignoreCase |
|
Returns
Type |
Description |
System.Boolean |
|
StartsWith(String, String, Boolean, Boolean)
Declaration
public static bool StartsWith(string origVal, string startVal, bool ignoreCase, bool cultureNeutral)
Parameters
Type |
Name |
Description |
System.String |
origVal |
|
System.String |
startVal |
|
System.Boolean |
ignoreCase |
|
System.Boolean |
cultureNeutral |
|
Returns
Type |
Description |
System.Boolean |
|
StartsWith(String, String, Boolean, CultureInfo)
Declaration
public static bool StartsWith(string origVal, string startVal, bool ignoreCase, CultureInfo culture)
Parameters
Type |
Name |
Description |
System.String |
origVal |
|
System.String |
startVal |
|
System.Boolean |
ignoreCase |
|
System.Globalization.CultureInfo |
culture |
|
Returns
Type |
Description |
System.Boolean |
|