أحرف كبيرة بالتناوب

يناوب بين الأحرف الكبيرة والصغيرة حسب النمط، مثل aLtErNaTiNg.

المدخلات: نصالنتيجة: نص

إدخال نصي

أمثلة

Turn a line from the Zen of Python into alternating case

المدخلات

Beautiful is better than ugly.

Expected answer

bEaUtIfUl Is BeTtEr ThAn UgLy.
Keep digits from consuming an alternating-case position

Letters alternate across spaces and digits; punctuation is unchanged.

المدخلات

HTTP 404: Not Found

Expected answer

hTtP 404: nOt FoUnD
Continue the pattern across a two-line countdown

The case pattern does not reset at a newline.

المدخلات

Ready?
3, 2, 1... Launch!

Expected answer

rEaDy?
3, 2, 1... LaUnCh!
Alternate accented letters in a French café caption

Accented letters count as letters, rather than punctuation.

المدخلات

Café déjà vu!

Expected answer

cAfÉ dÉjÀ vU!
Keep emoji intact in a small screen-reader fixture

The emoji is preserved and does not advance the letter pattern.

المدخلات

Read 📚 then RUN

Expected answer

rEaD 📚 tHeN rUn
AlternatingCaps: Basic Example

المدخلات

Hello, world!

Expected answer

hElLo, WoRlD!

أدوات ذات صلة

أدوات مساعدة

مرجع العملية

عرض الوثائق التقنية الأصلية (English)