実際にどう使われますか?
下の例文を通して、それぞれの単語がどのような状況で使われるのか学んでみましょう!
string
例文
I tied the package with a string. [string: noun]
パッケージを紐で結びました。[文字列: 名詞]
例文
The balloons were all strung together to make a colorful garland. [strung: past participle]
風船はすべて一緒に張られてカラフルな花輪を作りました。[張られた:過去分詞]
例文
Please enter your password as a string of letters and numbers. [string: noun]
パスワードは文字と数字の文字列で入力してください。[文字列: 名詞]
thread
例文
I need to buy some thread to mend my shirt. [thread: noun]
シャツを繕うために糸を買わなきゃ。[スレッド:名詞]
例文
The speaker skillfully threaded together different ideas to create a compelling argument. [threaded: past tense]
スピーカーは、説得力のある議論を作成するために、さまざまなアイデアを巧みに組み合わせました。[スレッド:過去形]
例文
The thread of the story was hard to follow because it kept jumping back and forth in time. [thread: noun]
物語の糸は、時間を前後にジャンプし続けたため、たどるのが難しかったです。[スレッド:名詞]
追加で知っておくといいこと
どっちの方がよく使われますか?
Threadは、特に縫製や織りの文脈で、日常の言葉でstringよりも一般的に使用されています。ただし、stringは依然としてさまざまなコンテキストで使用できる用途の広い単語です。
どっちの方がよりフォーマルですか?
stringとthreadはどちらも比較的非公式な言葉ですが、伝統的または職人の工芸品と見なされることが多い縫製や織りに関連しているため、thread少しフォーマルな場合があります。