📚 Practice Mode

Perl Programming Fundamentals

Learn at your own pace with hints and detailed explanations

1 / 20
Multiple Choice

If $string contains abcdabcd , what will the following call return? index ($string, “cd”, 3);

  1. 6
  2. 4
  3. -1
  4. 2