blendmaster
November 24th, 2008, 03:13 AM
Hello!
I'm stuck in the middle of one of my scripts. This is my code:
fixed_Artist=${"${album_Data[0]}"//\//-}
I'm trying to take the first string in the array album_Data and replace any instance of "/" with "-". However, I keep getting a "bad substitution" error.
What exactly is wrong with my code?
Thanks!
I'm stuck in the middle of one of my scripts. This is my code:
fixed_Artist=${"${album_Data[0]}"//\//-}
I'm trying to take the first string in the array album_Data and replace any instance of "/" with "-". However, I keep getting a "bad substitution" error.
What exactly is wrong with my code?
Thanks!