Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Hi there. I have just studied strings and i have encountered a problem.
I have an htmlfile (.html) with some tags. Now, The specification indicates that a tag should always begin with a < on the first character of a line. It follows that if you find spaces before the '<' you should report an error. Any spaces on the right-hand side should be removed. I know i have to use the pos() function but i couldn't get heads or tails from where to start. Can some1 tell me how to do this?
0 · ·