What is 'String' in coding?

Asked by emeka_nwankwo · 2 weeks ago

1 Answer

5
amorebise · 2 weeks ago Top Answer

In coding, we use the word 'String' to refer to a piece of text. Think of it as a string of beads, where each bead is a letter or a character.

Whether it's your name, an address in Ibadan, or a message to a friend, if it's made of characters, the computer sees it as a string.

We put strings in quotes—like "Hello"—so the computer doesn't confuse the text with a command. It's a basic building block of almost every program.

Log in to add a comment.