Right

  利用Right可以取得字串的右邊:

Label1.Caption = "德本立的VBEx"
Label1.Caption = Right(Label1.Caption, 4) '結果:VBEx

Label1.Caption = "VBEx的站長德本立"
Label1.Cpation = Right(Label1.Caption, 3) '結果:德本立


上一頁