Remove Method

Veröffentlicht am: 22 Juli 2024
auf dem Kanal: Darrell Kreckel
25
1

If you think back to Substring Start, we were able to extract a substring from a larger string. The Remove method allows us to remove a substring from the larger string leaving us with whatever is left.

So, Remove is like Insert in that it affects the existing string. We don’t need another variable. We just change the contents of our string.

In this video I have an example of a list of movies. The original list was in a spreadsheet. I extracted the contents to a text file. And for this example, I just took the first record and pasted it into an application. Now the record contained the movie name, the year, the CD it’s located on and the position on that CD. I think there were a few other things as well. But all I want is the movie name. I want to remove everything else. That’s where the Remove method comes into play.


Auf dieser Seite können Sie das Online-Video Remove Method mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Darrell Kreckel 22 Juli 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 25 Mal angesehen und es wurde von 1 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!