Skip to content

Instantly share code, notes, and snippets.

@mayuki
Created May 12, 2010 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mayuki/1d6fd566dfc4b77acbee to your computer and use it in GitHub Desktop.
Save mayuki/1d6fd566dfc4b77acbee to your computer and use it in GitHub Desktop.
using System;
using System.IO;
using System.Threading;
using System.Collections.Generic;
public class Test {
public static void Main (String[] args)
{
var s1 = "♻ RT ";
var s2 = "♻ RT ー";
//var pos = s2.LastIndexOf(s1, StringComparison.Ordinal);
var pos = s2.LastIndexOf(s1);
Console.WriteLine(pos);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment