I have a string build up like varstring1_varstring2_id1_id2 eg: move_user_12_2 .
I want to extract id1 and id2 out of the string. Since I’m a complete prototype beginner I’m having some troubles solving this.
Thanks
Stijn
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.
You could probably just use the built-in string.split() operator