---
title: Test if a String Contains a Substring
localeTitle: اختبار إذا كانت سلسلة تحتوي على سلسلة فرعية
---
## اختبار إذا كانت سلسلة تحتوي على سلسلة فرعية

هذا هو كعب. [ساعد مجتمعنا على توسيعه](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/information-security-and-quality-assurance/quality-assurance-and-testing-with-chai/test-if-a-string-contains-a-substring/index.md) .

[سيساعدك دليل النمط السريع هذا على ضمان قبول طلب السحب](https://github.com/freecodecamp/guides/blob/master/README.md) .