OCR GCSE Computer Science · J277
Paper 2
Revise: Basic String ManipulationSlicing creates a substring without changing the original string.
Loading…
GCSE Computer Science · key term
A sequence of characters extracted from within a string.
Used by OCR
Paper 2
Revise: Basic String ManipulationSlicing creates a substring without changing the original string.
Check the slicing notation used in the question. Python [start:stop] uses a stop position; substring(start, count) uses a number of characters.
Create a free account to read GCSE Computer Science revision notes for your exam board and track your progress.