Pular para o conteúdo

Built-in functions from the insert

English

A receipt joins a number to text

  • Every Paper 2 has an insert of built-in functions. Anything not in the pseudocode guide is printed there, and an answer may call it.
  • LEFT(Text, N) copies the first N characters and RIGHT(Text, N) the last N. MID(Text, Start, N) copies N characters from position Start. Positions start at 1.
  • NUM_TO_STR(4.5) is the string "4.5". Join it to words with &: & joins strings only.

NUM_TO_STR, IS_NUM, STR_TO_NUM, ASC and CHR with their results

Entrar ou criar conta

IGCSE, A-Level & AP