STARTSWITH

checks if text starts with prefix · a deepcalc original · no excel equivalent · no sheets equivalent

signature

STARTSWITH(text, prefix)

returns: text

argumentrequired
text required
prefix required

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

fx =STARTSWITH("hello world", "hello") true
A
1 10
fx =STARTSWITH(A1, "test") false

errors

error values observed from the engine — each with a call that produces it.

errorproduced by
#VALUE! =STARTSWITH("alpha", A1:A3)

related

  • ASC converts full-width characters to half-width
  • BAHTTEXT spells a number as thai baht and satang
  • CHAR returns the character for a character-set code
  • CLEAN removes non-printable characters
  • CODE numeric code of the first character
  • CONCAT joins multiple text strings into one