Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
str = "The is the end of line" 上記の文字列融合バッチ スクリプトで最後の単語 "line" を検索する方法。
これを試して:
@echo off &setlocal for %%i in (The is the end of line) do set "TheEnd=%%i" echo(%TheEnd%