:wacko: مرحبا.........عندي سؤال في الstring أنا حليته بس بقى لي فقرة ما عرفت احلها واتمنى مساعدتكم
Write a function called createUserName that takes a single string parameter representing student information, and returns another string which is a user name created from the given parameter. The string parameter is of the following format: <first name> <last name> <id>.
The user name created will be a combination of the first two characters of the first name, followed by the first two characters of the last name, followed by the last three digits of the id.
For example, if the string parameter has the value "Sarah Khalid 517295", the created user name will be "sakh295".
انا ما عرفت اسوي الid لانه يختلف من جامعة لاخرى فيه بعضهم 7ارقام وفيه9 ما عرفت كيف اكتب الفانكشن للid؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟
وشكرا..........ززززززززز