I want to split a string:
"00 85 00 04 79 E5 0B B5 82 AE C7 C9 96 37 93 AE"
into two small strings like:
string1 => "00 85 00 04"
string2 => "79 E5 0B B5 82 AE C7 C9 96 37 93 AE"
I tried using arrays but would like to try something new.
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 don’t need
splithere.But it is not clear what “pattern” do you want to use to cut original string.