I have a string in which I want to cut off the last 3 characters and add 3 new characters.
EXAMPLE:
From:
C:\Windows\Temp\Demo.Txt
To:
C:\Windows\Temp\Demo.New
I know this is a simple task but for the life of me I have completely forgotten.
If anyone could help me out, this would be very much appreciated.
Thanks,
Andrew.
EXAMPLE:
From:
C:\Windows\Temp\Demo.Txt
To:
C:\Windows\Temp\Demo.New
I know this is a simple task but for the life of me I have completely forgotten.
If anyone could help me out, this would be very much appreciated.
Thanks,
Andrew.