data = “<input type=“password” value=“hoax”>”
spl = data.split("“password”")
The first example works exactly like it should, but when i’m loading the
same line from file it doesn’t, even though they are both strings.
Here is the second example
fp = File.open(‘file’,‘r’).read
spl = data.split(/\“password”")
How come i can’t use the first approach? Is there really difference
between string and a string?