MS Word | Track Changes

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

ความคิดเห็น • 5

  • @jadeb4164
    @jadeb4164 ปีที่แล้ว +7

    Mr Gibson is the it teacher at my school and he helps us with cat 😀

    • @MrLongITandCAT
      @MrLongITandCAT  ปีที่แล้ว +4

      Mr Gibson was my computer teacher too.

  • @istantesco
    @istantesco 2 ปีที่แล้ว +6

    Mr Long I love you

  • @istantesco
    @istantesco 2 ปีที่แล้ว +1

    I'm doing string handling on delphhi in school right now, and there is a challenge to softcode a way to find the last word, im stuck. Do you know how i would do this?

    • @MrLongITandCAT
      @MrLongITandCAT  2 ปีที่แล้ว +1

      If it's a sentence then every word has a space at the end of it except the last word. So I would keep (loop) through a sentence finding the position of the space and deleting up until that space until I couldnt do it anymore. Then I should be left with the last word. (You may have to delete the last character if it has a full stop).
      sSen := //inputted sentence
      while pos(' ', sSen) 0 do
      begin
      Delete( sSen, 1, pos(' ', sSen) ;
      end ;
      //sSen will be left with last word