caption: Algorithm: A text T and pattern P are in memory
exif: {"Image DocumentName": "Algorithm: A text T and pattern P are in memory", "Image ImageDescription": "Algorithm: A text T and pattern P are in memory. This algorithm deletes every occurrence of P in T. Find index of P.] Set K:=INDEX(T,P) Repeat while K!=0; [Delete P from T.] Set T: =DELETE (T, INDEX (T, P), LENGTH (P)) [Update index.] Set K: =Index (T, P). [End of loop.] Write: T. Exit. Ex. T=XABYABZ, P=AB Algorithm executed twice. During first execution, the first occurrence of AB in T is deleted. Result T=XYABZ During the second execution, the remaining occurrence of AB in T is deleted, so that T=XYZ Result is XYZ Ex2. T=XAAABBBY P=AB", "Image XResolution": "300", "Image YResolution": "300", "Image ResolutionUnit": "Pixels/Inch", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}