Skip to navigation
How to extract a substring from ruby ?
07.12.13
this is sample script: #!/usr/local/bin/ruby -w string = "Fri Dec
foo
12 1975 14:39" a = string.index(/
/) + 3 e = string.index(/<\/b>/) -1 value = string[a..e] puts value
Reply
Anonymous
How to extract a substring from ruby ?
this is sample script: #!/usr/local/bin/ruby -w string = "Fri Dec
foo
12 1975 14:39" a = string.index(/
/) + 3 e = string.index(/<\/b>/) -1 value = string[a..e] puts value
07.12.13
Reply
Anonymous
Information Epoch 1736308959
Avoid captive user interfaces.
Home
Notebook
Contact us