Displaying 2 results from an estimated 2 matches for "first_word".
2009 Apr 23
2
Replace the first word of a string
Does anybody have a good starting point for how to read the first word
of a string and then, based on several defined pairs, swap it?
I''ve been considering using something like
@split = @message.split(''-'')
if @split[0] == "word"
...
elsif @split[0] == "otherword"
...
end
Even if this is the best way to do it, I''m not sure how to replace
2009 Jul 18
1
Windows 7 on Xen 3.2.1 on Debian 5.0 fails to install
Hi guys,
I am having problem with installing Windows 7 RC on Xen. My config file is:
WIndows is starting, which i can see in VNC terminal, and it hangs on
"Starting windows" screen...
I get error in logs which says:
...
Done register platform.
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
And I/O request error repeats as many times as many cores virtual cpus
I