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.

Required fields*

5
  • The rtrim() works gracefully even if there is no trailing ;. Does the solution work for you? Commented Nov 22, 2013 at 20:12
  • No, Its not working. I think, rtrim() has nothing to do here. Therefore,it is same as the one I tried already. Commented Nov 22, 2013 at 20:19
  • Are you sure you know what you are doing?.. Firstly, it seems you have no plan about the data you received from the web site. Have you read their documentation? Secondly rtrim() just replaces the ; if it is present. So why do you complain? Thirdly: how should I solve this without more information?... Commented Nov 23, 2013 at 2:52
  • 1) They don't have a documentation. I just parsed a page on their which is written this way. 2) Yes, I know rtrim() replaces only if it exists. But as there is know ; in the code. It does no work. Isn't it? 3) I just want to parse that string. For eg: If I ask for status, it should return OK. Commented Nov 23, 2013 at 3:10
  • Then I assume they don't want you leaking their data + you have no understanding about how to do it anyway... Good night Commented Nov 23, 2013 at 3:13