$theTitle=wp_title(" - ", false); if($theTitle != "") { ?>
About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
I don’t do much programming in .NET based languages but I have to for some things like the Windows Live Writer plugin I am creating.
I didn’t expect this but the String.IndexOf Method is by default case sensitive.
But we can make it case insensitive if we use one of the overloads: IndexOf(String, StringComparison).
Example:
1 | int preFrom = value.IndexOf(prePrefix, System.StringComparison.CurrentCultureIgnoreCase); |
Leave a reply