Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Hi, thanks, but how can I save them both in two different variables? Commented Sep 3, 2015 at 8:10
  • The thing is how your number is represented? if your string pattern is look1_look2 then you can easily know that after '1' there is special character means no other number. You can differentiate numbers with this logic. 1 followed by '_' means 1 is alone and 2 followed by null character means 2 is alone save it with different variables. i.e Check the end of each number if next character is not number save into variable. Commented Sep 3, 2015 at 8:20