I am trying to use an array to keep track of the numbers of channels created and how many times a particular channel has been copied. At the moment, the program sets a number for a new channel (1-20), but the user enters the channel name. The channel name is stored in 'ChannelName' variable and if the user copies the channel, it becomes ChannelName_Copy. I want to change the '_Copy' into an incremental identifier such as _C1, _C2, etc.. and to do this i would need to keep track of the channel name and the number of times it has been copied, which i planned to do using arrays but i am not quite sure how to approach this.
Or, you can simply check for the _C# suffix.
It will work as well if an user creates channel A_C1 and another user creates two channels A.
The first will be channel A,the second will correctly become A_C2, which could be cumbersome to track with arrays.