السؤال كالتالي:
Write a method int matchSub(String s, String substring); that returns the first position where the substring is found in s. Note: use String methods. Write a main() to test this.
الرجاء المساعدة ولكم جزيل الشكر
Write a method int matchSub(String s, String substring); that returns the first position where the substring is found in s. Note: use String methods. Write a main() to test this.
الرجاء المساعدة ولكم جزيل الشكر