Pascal help needed

Hello I have taken several programming lanuages and I am trying to learn pascal for a job I applied for

I was wondering how to do something

OK say you have the following string 'its going to rain today'
what I need to do is delete all occurences of the letters tsia

what I have now is a for loop and a while loop what do I need to add to delete the letters


  • For each letter search through the string, by either using the [b]pos[/b] function or string indexing, then get rid of the occurrences with [b]delete[/b] or [b]copy[/b]. I would just flag the occurrences then copy the non flagged ones to a new string...
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion