“string” in Japanese
ひも文字列 (プログラミング)
Definition
細くて物を結んだり引っ張ったりするためのひも。また、コンピューター用語では文字や記号の並びを表します。
Usage Notes (Japanese)
物理的な意味では「ひも」を使う。「a piece of string」は「ひも一本」など。「rope」はもっと太く、「thread」は裁縫に使う細糸。「string」はIT用語でも使う標準語。「文字列」はプログラミング等で使用。
Examples
She tied the box with a string.
彼女は箱を**ひも**で結びました。
There is a string on the table.
テーブルの上に**ひも**があります。
This string has five letters.
この**文字列**には5文字あります。
Can you cut that string for me?
その**ひも**を切ってくれる?
The package came wrapped in brown paper and string.
荷物は茶色い紙と**ひも**で包まれていました。
Make sure the input is stored as a string, not a number.
入力が**文字列**として保存されていることを確認してください。