ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¦P¤@Àx¦s®æ¤º¦³­«½Æªº¤º®e¦p¦ó¾ã²z

[µo°Ý] ¦P¤@Àx¦s®æ¤º¦³­«½Æªº¤º®e¦p¦ó¾ã²z



½Ð°Ý­n§âBÄ檺¸ê®Æ¾ã²z¦¨CÄæ
¥u­n¦³­«½Æªº¦W¦r³£µø¬°¤@­Ó
¦pªG¦³¨â¤H¥H¤W´N¦ê±µ°_¨Ó

½Ð°Ý³oºØ°ÝÃD­n«ç»ò¼g¨ç¦¡©Îvba?

¦^´_ 3# dk457587
§_«h ¦W¦r¤º³¡¤À¦r¥i¯à©M¥t¤@­Ó¦W¦r­«½Æ®Ú¥»¤À¤£²M·¡(Tomas , Tom) (John, Johnson)
¤]·|³y¦¨»~§R¡C


°²¦p¤£¦Ò¼{¤W­±»¡ªº¡A¥i¥H¸Õ¸Õ:
¤@¯ë¼Ò²Õ·s¼W¦Û­q¨ç¼Æ
  1. Function RemSameName(s As String)
  2.     With CreateObject("vbscript.regexp")
  3.         .Global = True
  4.         .Pattern = "(.{2,})(?=.*\1)"
  5.         s = StrReverse(s)
  6.         RemSameName = StrReverse(.Replace(s, ""))
  7.     End With
  8. End Function
½Æ»s¥N½X
C2¶ñ¤J  =RemSameName(B2)
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

¤W¶Ç½d¨ÒÀɮפj®a¦n´ú¸Õ
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¬Ý°_¨Ó¥u¦³¡e­º¦r­^¤å¤j¼g¡f¦³³W«h¡A¦ý«D¥þ³¡¡A¤´¤£¥i¾a¡I

¦³°ÝÃD¡A³Ì¦nªþ¤WÀɮסA¬Ý¹Ï°µ¤£¤F¨Æ¡I¡I¡I

TOP

¦^´_ 2# stillfish00

±z¦n
BÄæ¬O¥Ø¼Ð­n¹F¦¨ªº¼Ë¤l
¥Ø«e¬O¤â¥´¶i¥hªº

AÄ榳³o­Óª¬ªp¤]¬O¦]¬°¸ê®Æ¨Ó·½ªºÃö«Y...

«D±`ÁÂÁ±z!

TOP

¦^´_ 1# dk457587
BÄæ¬O±q­þ¨Óªº¡C¡C¡C
³Ì¦n¬O«Ø¥ßBÄæ®É¡A³æµü©M³æµü¶¡¥ÎªÅ¥Õ°Ï¹j
§_«h ¦W¦r¤º³¡¤À¦r¥i¯à©M¥t¤@­Ó¦W¦r­«½Æ®Ú¥»¤À¤£²M·¡(Tomas , Tom) (John, Johnson)
¤]·|³y¦¨»~§R¡C
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¯Ê¤fªºªM¤l¡A¦pªG´«¤@­Ó¨¤«×¬Ý¥¦¡A¥¦¤´µM¬O¶êªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD