uplink6001
Beta member
- Messages
- 2
Good Afternoon.
I need help with some code please. I need to create a string of underscore characters and the string has to be the same length as another existing string or an element in an array.
So for example if I have the following......
A string 'hello world' or wordArray[0] = 'hello world'
....then I need to create a new string consisting of 11 underscore characters or however many characters are in the initial string or array element.
Hope you can help as I can't find any easy way to do this.
Thanks
BG
I need help with some code please. I need to create a string of underscore characters and the string has to be the same length as another existing string or an element in an array.
So for example if I have the following......
A string 'hello world' or wordArray[0] = 'hello world'
....then I need to create a new string consisting of 11 underscore characters or however many characters are in the initial string or array element.
Hope you can help as I can't find any easy way to do this.
Thanks
BG