LoginSignup
0
0

More than 3 years have passed since last update.

文字列を検索して,検索文字列が見つかったら,行頭から,検索文字列直前までの文字列を表示するプログラム

Posted at

Javaで文字列を検索して,検索文字列が見つかったら,行頭から,検索文字列直前までの文字列を表示するプログラムを作っています。
※太文字斜文字でユーザ入力
文字列をコピー&ペーストで入力

このような実行結果にしたい。

スクリーンショット 2020-07-15 19.55.09.png

現在の実行結果
スクリーンショット 2020-07-15 19.56.33.png

現在のソースコード
スクリーンショット 2020-07-15 19.57.30.png

補足情報
PC: MAC
エディタ: Atom

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0