Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ StartsWith() [3/4]

bool System.String.StartsWith ( string value,
bool ignoreCase,
CultureInfo? culture )
inline

Definition at line 859 of file String.cs.

860 {
861 if ((object)value == null)
862 {
863 throw new ArgumentNullException("value");
864 }
865 if ((object)this == value)
866 {
867 return true;
868 }
870 return cultureInfo.CompareInfo.IsPrefix(this, value, ignoreCase ? CompareOptions.IgnoreCase : CompareOptions.None);
871 }
static CultureInfo CurrentCulture

References System.culture, System.Globalization.CultureInfo.CurrentCulture, and System.value.