Results for “code”
Small, practical examples. Search by task or narrow things down below.
Read one character from ASCII text
Python: Use a valid zero-based index to read the first character.
Python✓ Tested
Read one character from ASCII text
C#: Use a valid zero-based index to read the first character.
C#✓ Tested
Read one character from ASCII text
Java: Use a valid zero-based index to read the first character.
Java✓ Tested
Read one character from ASCII text
JavaScript: Use a valid zero-based index to read the first character.
JavaScript✓ Tested
Read one character from ASCII text
TypeScript: Use a valid zero-based index to read the first character.
TypeScript✓ Tested
Read one character from ASCII text
C++: Use a valid zero-based index to read the first character.
C++✓ Tested
Read one character from ASCII text
C: Use a valid zero-based index to read the first character.
C✓ Tested
Read one character from serial input
Wait for an incoming byte without blocking the main loop.
Serial.available✓ Tested
Read one JSON document per line
Python: Parse nonempty JSON Lines records independently instead of loading a JSON array.
Python✓ Tested
Read output from a completed container
Retrieve the stdout captured by Docker.
logs✓ Tested
Read part of a shell string
Bash Scripts: Read part of a shell string with a small standalone Bash program.
Bash Scripts✓ Tested
Read positional parameters in a function
Bash Scripts: Read positional parameters in a function with a small standalone Bash program.
Bash Scripts✓ Tested