because you're putting spilt, not split?
I have the same issue, is there a way to overcome
To create an array I am trying to convert a string to a character array, and I am trying to using the split function
"hello world".split(//) => ["h", "e", "l", "l", "o", " ", "w", "o", "r", "l", "d"]
However, I keep getting a error message when I run test saying that split is a undefined method. The error method is below.
encryption': undefined method spilt' for "HELLO WORLD":String (NoMethodError) from '
spilt' for "HELLO WORLD":String (NoMethodError) from
Loading collection data...
because you're putting spilt, not split?
I have the same issue, is there a way to overcome
To create an array I am trying to convert a string to a character array, and I am trying to using the split function
"hello world".split(//)
=> ["h", "e", "l", "l", "o", " ", "w", "o", "r", "l", "d"]
However, I keep getting a error message when I run test saying that split is a undefined method. The error method is below.
encryption': undefined method
spilt' for "HELLO WORLD":String (NoMethodError) from
'