How to say "From /a book/?"


So recently I was commenting about how a song was related to a book, and I
said that there were names of certain characters in the song. Then I wanted to
say that when I looked up the names, I found out that they were from the book,
The Plague. But I couldn't figure out how you would say that. I ended up doing
this:

「ペスト」のキャラクターを見つけ出します！

So how would you say "from /a book/?" Using from in that way seems like a
particular English expression. Is there an equivalent one in Japanese? Or can
I just use に? "「ペスト」に" made the most sense to me, but then how would I use
that with を, for 見つけ出します?

Thank you!




You could say:

> 「[Actual Name(s)] は小説{しょうせつ}『ペスト』から来{き}ていることがわかった。」

or

> 「[Actual Name(s)] は小説『ペスト』の登場人物{とうじょうじんぶつ}の名前{なまえ}であることがわかった。」

The first sentence is more informal in word choices and structure.

Your sentence:

> 「『ペスト』のキャラクターを見つけ出します！」

makes little sense. At least it does not mean what you want to say this time.

「見つけ出します！」 can only mean " **I'm going to find ~~!** " when, in reality, you
have already found something. It talks about near future, not immediate past.

While I would not call your word choice of 「キャラクター」 incorrect, 「登場人物」 would be
a way more common word for this.

