I have a string matrix filled with data like
matrix = ['1231231.jpeg','4343.jpeg',...]
and I want to remove its file extension and get
matrix = ['1231231', '4343']
How can I do it? is there any function or what 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming the matrix looks like
(; instead of ,). If ‘,’ is used, the chars in the matrix are concatinated automatically.
You can use
arrayfunto perform an operation on each index of a matrix. The following command should work