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

[µo°Ý] office 2010 ¤¤ right©Î left ©Î mid ¨ç¼ÆµLªkÃѧO

[µo°Ý] office 2010 ¤¤ right©Î left ©Î mid ¨ç¼ÆµLªkÃѧO

½Ð±Ð½Ñ¦ì¤j¤j
©óoffice 2003 ¤¤ right(str1,5) ©Î left ©Î mid(str1,5,3)  «Ü¦n¥Î
¦ý¦b office 2010 ¤¤ right(str1,5) ©Î left ©Î mid(str1,5,3) µLªkÃѧO
À³¦p¦ó­×¥¿?

¦^´_ 1# yangjie
§A«üªº¬O¡H

TOP

¦^´_ 2# c_c_lai
run tt45
Sub tt45()
    Dim str1 As String
    str1 = "asdfg123ghj"
    MsgBox Left(str1, 5)
End Sub
§Y¥X²{µøµ¡  
½s¿è¿ù»~
§ä¤£¨ì±M®×©Îµ{¦¡®w
(§Ú¥Îªº¬Ooffice2010 X64)

TOP

¦^´_ 3# yangjie
¥H¤Uµ{¦¡½X¬O¥¿½Tªº (µL½×¬O 32 ¦ì¤¸¡B©Î¬O 64 ¦ì¤¸)
Left()¡BMid()¡BRight() ¦b¥ô¦óµ{¦¡»y¨¥¤¤¡A¨Ï¥Î¤è¦¡³£¬O¤@­Pªº¡A
¥B¬O³Ì°ò¥»ªº¤º¦b¨ç¦¡¡C
  1. Sub Ex()
  2.     tt45    '  °õ¦æ tt45 ¡B©ÎªÌ¬O Call tt45 §¡¥i
  3.     '  Call tt45
  4. End Sub

  5. Sub tt45()
  6.     Dim str1 As String
  7.     str1 = "asdfg123ghj"
  8.     MsgBox Left(str1, 5)
  9. End Sub
½Æ»s¥N½X

TOP

¦^´_ 3# yangjie
¤u¨ã/¤Þ¥Î¶µ¥Ø
±N¿òº|ªº¶µ¥Ø¨ú®ø¤Ä¿ï
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 5# Hsieh
º}«G   ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ªY½à§O¤H´N¬O²øÄY¦Û¤v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD