PWC 348 Task 1: String Alike





The Task


You are given a string of even length. Write a script to find out whether the given string can be split into two halves of equal lengths, each with the same non-zero number of vowels.



Example 1:



Input: $str = "textbook" text | book (1, 2)

Output: false







Example 2:



Input: $str =...