![]() |
بخصوص دالة strpos رمز PHP: $find_letters = array('a', 'c', 'd'); $string = 'abcdefg'; if(strpos($string, $find_letters) !== false) { echo 'All the letters are found in the string!'; } مرحبا هذا الكود يتحقق من وجود جميع الاحرف في المصفوفة find_letters في النص string اريده يتحقق من وجود فقط حرف واحد لنكون العبارة صحيحة :emoji26: |
الساعة الآن 10:27 PM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir