Skip to content

Instantly share code, notes, and snippets.

@Porges
Last active May 9, 2023 21:37
Show Gist options
  • Save Porges/11a91466df915cdfc11465144b124d72 to your computer and use it in GitHub Desktop.
Save Porges/11a91466df915cdfc11465144b124d72 to your computer and use it in GitHub Desktop.
more fun with startswith
Console.WriteLine("Cheese".StartsWith(
"C\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u000E\u000F\u0010\u0011\u0012"
+ "\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F\u0068"
+ "\u007F\u0080\u0081\u0082\u0083\u0084\u0086\u0087\u0088\u0089\u008A\u008B\u008C\u008D"
+ "\u008E\u008F\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009A\u009B"
+ "\u009C\u009D\u009E\u009F\u00AD\u034F\u0488\u0489\u0591\u0592\u0593\u0594\u0595\u0596"
+ "\u0597\u0598\u0599\u059A\u059B\u059C\u059D\u059E\u059F\u05A0\u05A1\u05A2\u05A3\u05A4"
+ "\u05A5\u05A6\u05A7\u05A8\u05A9\u05AA\u05AB\u05AC\u05AD\u05AE\u05AF\u05BD\u05C4\u05C5"
+ "\u0600\u0601\u0602\u0603\u0604\u0605\u0610\u0611\u0612\u0613\u0614\u0615\u0616\u0617"
+ "\u0618\u0619\u061A\u061C\u0640\u06D6\u06D7\u06D8\u06D9\u06DA\u06DB\u06DC\u06DD\u06DF"
+ "\u06E0\u06E1\u06E2\u06E3\u06E4\u06E7\u06E8\u06EA\u06EB\u06EC\u06ED\u070F\u0740\u0743"
+ "\u0744\u0747\u0748\u0749\u074A\u07FA\u0890\u0891\u0898\u0899\u089A\u089B\u089C\u089D"
+ "\u08CA\u08CB\u08CC\u08CD\u08CE\u08CF\u08D0\u08D1\u08D2\u08D3\u08D4\u08D5\u08D6\u08D7"
+ "\u08D8\u08D9\u08DA\u08DB\u08DC\u08DD\u08DE\u08DF\u08E0\u08E1\u08E2\u08EA\u08EB\u08EC"
+ "\u08ED\u08EE\u08EF\u08F3\u0951\u0952\u0F18\u0F19\u0F35\u0F37\u0F3E\u0F3F\u0F82\u0F83"
+ "\u0F86\u0F87\u0FC6\u17B4\u17B5\u17D3\u180A\u180B\u180C\u180D\u180E\u180F\u1A7F\u1B6B"
+ "\u1B6C\u1B6D\u1B6E\u1B6F\u1B70\u1B71\u1B72\u1B73\u1CD0\u1CD1\u1CD2\u1CD3\u1CD4\u1CD5"
+ "\u1CD6\u1CD7\u1CD8\u1CD9\u1CDA\u1CDB\u1CDC\u1CDD\u1CDE\u1CDF\u1CE0\u1CE1\u1CE2\u1CE3"
+ "\u1CE4\u1CE5\u1CE6\u1CE7\u1CE8\u1CF4\u1CF7\u1CF8\u1CF9\u200B\u200C\u200D\u200E\u200F"
+ "\u202A\u202B\u202C\u202D\u202E\u2060\u2061\u2062\u2063\u2064\u2066\u2067\u2068\u2069"
+ "\u206A\u206B\u206C\u206D\u206E\u206F\u2D7F\uA670\uA671\uA672\uA8E0\uA8E1\uA8E2\uA8E3"
+ "\uA8E4\uA8E5\uA8E6\uA8E7\uA8E8\uA8E9\uA8EA\uA8EB\uA8EC\uA8ED\uA8EE\uA8EF\uA8F0\uA8F1"
+ "\uFE00\uFE01\uFE02\uFE03\uFE04\uFE05\uFE06\uFE07\uFE08\uFE09\uFE0A\uFE0B\uFE0C\uFE0D"
+ "\uFE0E\uFE0F\uFE21\uFE23\uFE24\uFE25\uFE26\uFE28\uFE2A\uFE2B\uFE2C\uFE2D\uFE2F\uFE73"
+ "\uFEFF\uFFF9\uFFFA\uFFFB\uD800\uDEE0\uD804\uDCBD\uD804\uDCCD\uD804\uDF66\uD804\uDF67"
+ "\uD804\uDF68\uD804\uDF69\uD804\uDF6A\uD804\uDF6B\uD804\uDF6C\uD804\uDF70\uD804\uDF71"
+ "\uD804\uDF72\uD804\uDF73\uD804\uDF74\uD80D\uDC30\uD80D\uDC31\uD80D\uDC32\uD80D\uDC33"
+ "\uD80D\uDC34\uD80D\uDC35\uD80D\uDC36\uD80D\uDC37\uD80D\uDC38\uD81B\uDFE4\uD82F\uDCA0"
+ "\uD82F\uDCA1\uD82F\uDCA2\uD82F\uDCA3\uD833\uDF00\uD833\uDF01\uD833\uDF02\uD833\uDF03"
+ "\uD833\uDF04\uD833\uDF05\uD833\uDF06\uD833\uDF07\uD833\uDF08\uD833\uDF09\uD833\uDF0A"
+ "\uD833\uDF0B\uD833\uDF0C\uD833\uDF0D\uD833\uDF0E\uD833\uDF0F\uD833\uDF10\uD833\uDF11"
+ "\uD833\uDF12\uD833\uDF13\uD833\uDF14\uD833\uDF15\uD833\uDF16\uD833\uDF17\uD833\uDF18"
+ "\uD833\uDF19\uD833\uDF1A\uD833\uDF1B\uD833\uDF1C\uD833\uDF1D\uD833\uDF1E\uD833\uDF1F"
+ "\uD833\uDF20\uD833\uDF21\uD833\uDF22\uD833\uDF23\uD833\uDF24\uD833\uDF25\uD833\uDF26"
+ "\uD833\uDF27\uD833\uDF28\uD833\uDF29\uD833\uDF2A\uD833\uDF2B\uD833\uDF2C\uD833\uDF2D"
+ "\uD833\uDF30\uD833\uDF31\uD833\uDF32\uD833\uDF33\uD833\uDF34\uD833\uDF35\uD833\uDF36"
+ "\uD833\uDF37\uD833\uDF38\uD833\uDF39\uD833\uDF3A\uD833\uDF3B\uD833\uDF3C\uD833\uDF3D"
+ "\uD833\uDF3E\uD833\uDF3F\uD833\uDF40\uD833\uDF41\uD833\uDF42\uD833\uDF43\uD833\uDF44"
+ "\uD833\uDF45\uD833\uDF46\uD834\uDD65\uD834\uDD66\uD834\uDD67\uD834\uDD68\uD834\uDD69"
+ "\uD834\uDD6D\uD834\uDD6E\uD834\uDD6F\uD834\uDD70\uD834\uDD71\uD834\uDD72\uD834\uDD73"
+ "\uD834\uDD74\uD834\uDD75\uD834\uDD76\uD834\uDD77\uD834\uDD78\uD834\uDD79\uD834\uDD7A"
+ "\uD834\uDD7B\uD834\uDD7C\uD834\uDD7D\uD834\uDD7E\uD834\uDD7F\uD834\uDD80\uD834\uDD81"
+ "\uD834\uDD82\uD834\uDD85\uD834\uDD86\uD834\uDD87\uD834\uDD88\uD834\uDD89\uD834\uDD8A"
+ "\uD834\uDD8B\uD834\uDDAA\uD834\uDDAB\uD834\uDDAC\uD834\uDDAD\uD834\uDE42\uD834\uDE43"
+ "\uD834\uDE44\uD836\uDE00\uD836\uDE01\uD836\uDE02\uD836\uDE03\uD836\uDE04\uD836\uDE05"
+ "\uD836\uDE06\uD836\uDE07\uD836\uDE08\uD836\uDE09\uD836\uDE0A\uD836\uDE0B\uD836\uDE0C"
+ "\uD836\uDE0D\uD836\uDE0E\uD836\uDE0F\uD836\uDE10\uD836\uDE11\uD836\uDE12\uD836\uDE13"
+ "\uD836\uDE14\uD836\uDE15\uD836\uDE16\uD836\uDE17\uD836\uDE18\uD836\uDE19\uD836\uDE1A"
+ "\uD836\uDE1B\uD836\uDE1C\uD836\uDE1D\uD836\uDE1E\uD836\uDE1F\uD836\uDE20\uD836\uDE21"
+ "\uD836\uDE22\uD836\uDE23\uD836\uDE24\uD836\uDE25\uD836\uDE26\uD836\uDE27\uD836\uDE28"
+ "\uD836\uDE29\uD836\uDE2A\uD836\uDE2B\uD836\uDE2C\uD836\uDE2D\uD836\uDE2E\uD836\uDE2F"
+ "\uD836\uDE30\uD836\uDE31\uD836\uDE32\uD836\uDE33\uD836\uDE34\uD836\uDE35\uD836\uDE36"
+ "\uD836\uDE3B\uD836\uDE3C\uD836\uDE3D\uD836\uDE3E\uD836\uDE3F\uD836\uDE40\uD836\uDE41"
+ "\uD836\uDE42\uD836\uDE43\uD836\uDE44\uD836\uDE45\uD836\uDE46\uD836\uDE47\uD836\uDE48"
+ "\uD836\uDE49\uD836\uDE4A\uD836\uDE4B\uD836\uDE4C\uD836\uDE4D\uD836\uDE4E\uD836\uDE4F"
+ "\uD836\uDE50\uD836\uDE51\uD836\uDE52\uD836\uDE53\uD836\uDE54\uD836\uDE55\uD836\uDE56"
+ "\uD836\uDE57\uD836\uDE58\uD836\uDE59\uD836\uDE5A\uD836\uDE5B\uD836\uDE5C\uD836\uDE5D"
+ "\uD836\uDE5E\uD836\uDE5F\uD836\uDE60\uD836\uDE61\uD836\uDE62\uD836\uDE63\uD836\uDE64"
+ "\uD836\uDE65\uD836\uDE66\uD836\uDE67\uD836\uDE68\uD836\uDE69\uD836\uDE6A\uD836\uDE6B"
+ "\uD836\uDE6C\uD836\uDE75\uD836\uDE84\uD836\uDE9B\uD836\uDE9C\uD836\uDE9D\uD836\uDE9E"
+ "\uD836\uDE9F\uD836\uDEA1\uD836\uDEA2\uD836\uDEA3\uD836\uDEA4\uD836\uDEA5\uD836\uDEA6"
+ "\uD836\uDEA7\uD836\uDEA8\uD836\uDEA9\uD836\uDEAA\uD836\uDEAB\uD836\uDEAC\uD836\uDEAD"
+ "\uD836\uDEAE\uD836\uDEAF\uD83A\uDCD0\uD83A\uDCD1\uD83A\uDCD2\uD83A\uDCD3\uD83A\uDCD4"
+ "\uD83A\uDCD5\uD83A\uDCD6\uDB40\uDC01\uDB40\uDC20\uDB40\uDC21\uDB40\uDC22\uDB40\uDC23"
+ "\uDB40\uDC24\uDB40\uDC25\uDB40\uDC26\uDB40\uDC27\uDB40\uDC28\uDB40\uDC29\uDB40\uDC2A"
+ "\uDB40\uDC2B\uDB40\uDC2C\uDB40\uDC2D\uDB40\uDC2E\uDB40\uDC2F\uDB40\uDC30\uDB40\uDC31"
+ "\uDB40\uDC32\uDB40\uDC33\uDB40\uDC34\uDB40\uDC35\uDB40\uDC36\uDB40\uDC37\uDB40\uDC38"
+ "\uDB40\uDC39\uDB40\uDC3A\uDB40\uDC3B\uDB40\uDC3C\uDB40\uDC3D\uDB40\uDC3E\uDB40\uDC3F"
+ "\uDB40\uDC40\uDB40\uDC41\uDB40\uDC42\uDB40\uDC43\uDB40\uDC44\uDB40\uDC45\uDB40\uDC46"
+ "\uDB40\uDC47\uDB40\uDC48\uDB40\uDC49\uDB40\uDC4A\uDB40\uDC4B\uDB40\uDC4C\uDB40\uDC4D"
+ "\uDB40\uDC4E\uDB40\uDC4F\uDB40\uDC50\uDB40\uDC51\uDB40\uDC52\uDB40\uDC53\uDB40\uDC54"
+ "\uDB40\uDC55\uDB40\uDC56\uDB40\uDC57\uDB40\uDC58\uDB40\uDC59\uDB40\uDC5A\uDB40\uDC5B"
+ "\uDB40\uDC5C\uDB40\uDC5D\uDB40\uDC5E\uDB40\uDC5F\uDB40\uDC60\uDB40\uDC61\uDB40\uDC62"
+ "\uDB40\uDC63\uDB40\uDC64\uDB40\uDC65\uDB40\uDC66\uDB40\uDC67\uDB40\uDC68\uDB40\uDC69"
+ "\uDB40\uDC6A\uDB40\uDC6B\uDB40\uDC6C\uDB40\uDC6D\uDB40\uDC6E\uDB40\uDC6F\uDB40\uDC70"
+ "\uDB40\uDC71\uDB40\uDC72\uDB40\uDC73\uDB40\uDC74\uDB40\uDC75\uDB40\uDC76\uDB40\uDC77"
+ "\uDB40\uDC78\uDB40\uDC79\uDB40\uDC7A\uDB40\uDC7B\uDB40\uDC7C\uDB40\uDC7D\uDB40\uDC7E"
+ "\uDB40\uDC7F\uDB40\uDD00\uDB40\uDD01\uDB40\uDD02\uDB40\uDD03\uDB40\uDD04\uDB40\uDD05"
+ "\uDB40\uDD06\uDB40\uDD07\uDB40\uDD08\uDB40\uDD09\uDB40\uDD0A\uDB40\uDD0B\uDB40\uDD0C"
+ "\uDB40\uDD0D\uDB40\uDD0E\uDB40\uDD0F\uDB40\uDD10\uDB40\uDD11\uDB40\uDD12\uDB40\uDD13"
+ "\uDB40\uDD14\uDB40\uDD15\uDB40\uDD16\uDB40\uDD17\uDB40\uDD18\uDB40\uDD19\uDB40\uDD1A"
+ "\uDB40\uDD1B\uDB40\uDD1C\uDB40\uDD1D\uDB40\uDD1E\uDB40\uDD1F\uDB40\uDD20\uDB40\uDD21"
+ "\uDB40\uDD22\uDB40\uDD23\uDB40\uDD24\uDB40\uDD25\uDB40\uDD26\uDB40\uDD27\uDB40\uDD28"
+ "\uDB40\uDD29\uDB40\uDD2A\uDB40\uDD2B\uDB40\uDD2C\uDB40\uDD2D\uDB40\uDD2E\uDB40\uDD2F"
+ "\uDB40\uDD30\uDB40\uDD31\uDB40\uDD32\uDB40\uDD33\uDB40\uDD34\uDB40\uDD35\uDB40\uDD36"
+ "\uDB40\uDD37\uDB40\uDD38\uDB40\uDD39\uDB40\uDD3A\uDB40\uDD3B\uDB40\uDD3C\uDB40\uDD3D"
+ "\uDB40\uDD3E\uDB40\uDD3F\uDB40\uDD40\uDB40\uDD41\uDB40\uDD42\uDB40\uDD43\uDB40\uDD44"
+ "\uDB40\uDD45\uDB40\uDD46\uDB40\uDD47\uDB40\uDD48\uDB40\uDD49\uDB40\uDD4A\uDB40\uDD4B"
+ "\uDB40\uDD4C\uDB40\uDD4D\uDB40\uDD4E\uDB40\uDD4F\uDB40\uDD50\uDB40\uDD51\uDB40\uDD52"
+ "\uDB40\uDD53\uDB40\uDD54\uDB40\uDD55\uDB40\uDD56\uDB40\uDD57\uDB40\uDD58\uDB40\uDD59"
+ "\uDB40\uDD5A\uDB40\uDD5B\uDB40\uDD5C\uDB40\uDD5D\uDB40\uDD5E\uDB40\uDD5F\uDB40\uDD60"
+ "\uDB40\uDD61\uDB40\uDD62\uDB40\uDD63\uDB40\uDD64\uDB40\uDD65\uDB40\uDD66\uDB40\uDD67"
+ "\uDB40\uDD68\uDB40\uDD69\uDB40\uDD6A\uDB40\uDD6B\uDB40\uDD6C\uDB40\uDD6D\uDB40\uDD6E"
+ "\uDB40\uDD6F\uDB40\uDD70\uDB40\uDD71\uDB40\uDD72\uDB40\uDD73\uDB40\uDD74\uDB40\uDD75"
+ "\uDB40\uDD76\uDB40\uDD77\uDB40\uDD78\uDB40\uDD79\uDB40\uDD7A\uDB40\uDD7B\uDB40\uDD7C"
+ "\uDB40\uDD7D\uDB40\uDD7E\uDB40\uDD7F\uDB40\uDD80\uDB40\uDD81\uDB40\uDD82\uDB40\uDD83"
+ "\uDB40\uDD84\uDB40\uDD85\uDB40\uDD86\uDB40\uDD87\uDB40\uDD88\uDB40\uDD89\uDB40\uDD8A"
+ "\uDB40\uDD8B\uDB40\uDD8C\uDB40\uDD8D\uDB40\uDD8E\uDB40\uDD8F\uDB40\uDD90\uDB40\uDD91"
+ "\uDB40\uDD92\uDB40\uDD93\uDB40\uDD94\uDB40\uDD95\uDB40\uDD96\uDB40\uDD97\uDB40\uDD98"
+ "\uDB40\uDD99\uDB40\uDD9A\uDB40\uDD9B\uDB40\uDD9C\uDB40\uDD9D\uDB40\uDD9E\uDB40\uDD9F"
+ "\uDB40\uDDA0\uDB40\uDDA1\uDB40\uDDA2\uDB40\uDDA3\uDB40\uDDA4\uDB40\uDDA5\uDB40\uDDA6"
+ "\uDB40\uDDA7\uDB40\uDDA8\uDB40\uDDA9\uDB40\uDDAA\uDB40\uDDAB\uDB40\uDDAC\uDB40\uDDAD"
+ "\uDB40\uDDAE\uDB40\uDDAF\uDB40\uDDB0\uDB40\uDDB1\uDB40\uDDB2\uDB40\uDDB3\uDB40\uDDB4"
+ "\uDB40\uDDB5\uDB40\uDDB6\uDB40\uDDB7\uDB40\uDDB8\uDB40\uDDB9\uDB40\uDDBA\uDB40\uDDBB"
+ "\uDB40\uDDBC\uDB40\uDDBD\uDB40\uDDBE\uDB40\uDDBF\uDB40\uDDC0\uDB40\uDDC1\uDB40\uDDC2"
+ "\uDB40\uDDC3\uDB40\uDDC4\uDB40\uDDC5\uDB40\uDDC6\uDB40\uDDC7\uDB40\uDDC8\uDB40\uDDC9"
+ "\uDB40\uDDCA\uDB40\uDDCB\uDB40\uDDCC\uDB40\uDDCD\uDB40\uDDCE\uDB40\uDDCF\uDB40\uDDD0"
+ "\uDB40\uDDD1\uDB40\uDDD2\uDB40\uDDD3\uDB40\uDDD4\uDB40\uDDD5\uDB40\uDDD6\uDB40\uDDD7"
+ "\uDB40\uDDD8\uDB40\uDDD9\uDB40\uDDDA\uDB40\uDDDB\uDB40\uDDDC\uDB40\uDDDD\uDB40\uDDDE"
+ "\uDB40\uDDDF\uDB40\uDDE0\uDB40\uDDE1\uDB40\uDDE2\uDB40\uDDE3\uDB40\uDDE4\uDB40\uDDE5"
+ "\uDB40\uDDE6\uDB40\uDDE7\uDB40\uDDE8\uDB40\uDDE9\uDB40\uDDEA\uDB40\uDDEB\uDB40\uDDEC"
+ "\uDB40\uDDED\uDB40\uDDEE\uDB40\uDDEF"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment