我有一行代码:
line = "start running at Sat April 1 07:30:37 2017"
我想提取出以下部分:
"Sat April 1 07:30:37 2017"
我尝试过这个方法...
line = "start running at Sat April 1 07:30:37 2017"
if (line =~ /start running at/)
line.split("start running at ").last
end
...但是还有其他的方法吗?