Insert Method

Published: 27 June 2024
on channel: Darrell Kreckel
43
0

The Insert method allows you to place characters, a string, inside the target string at a specific position. This will change the original string, or new string if you elect to assign the results to a new string variable.

Think of it this way. I you have a phone number consisting of 10 digits, nothing else, you could format that number by inserting parentheses, spaces, dashes, or any number of things to format the phone number a certain way.

That’s what you are going to see in this next video. We’re going to take 10 digits and surround the first 3 digits with an opening and closing parenthesis. We’re going to place a space before the exchange, or next set of 3 digits. And then we are going to place a hyphen after the exchange.


On this page of the site you can watch the video online Insert Method with a duration of hours minute second in good quality, which was uploaded by the user Darrell Kreckel 27 June 2024, share the link with friends and acquaintances, this video has already been watched 43 times on youtube and it was liked by 0 viewers. Enjoy your viewing!