Skip to content · ⁨الانتقال إلى المحتوى⁩

Working with strings · ⁨التعامل مع النصوص⁩

English

Letters have positions

  • A string is a row of characters.
  • Each character has a position, called an index.
  • Indexes start at 0. Use s[-1] for the last character.
العربية

الحروف لها مواقع

  • السلسلة هي صف من الرموز.
  • لكل رمز موقع، يسمى فهرس.
  • تبدأ الفهارس من 0. استخدم s[-1] للرمز الأخير.

Handout · ⁨ورقة عمل⁩

Log in or create account · ⁨تسجيل الدخول أو إنشاء حساب⁩

IGCSE, A-Level & AP