阅读背景:

通过在jruby中拆分进行字符串比较

来源:互联网 

I am trying to get the numeric value out of a string which looks like "ABCDEFG [1]". Here I am trying to get 1. I tried to use split method on the following string but dint get success. Any solution for this is appreciated. Thanks!I am trying to get the numeric value out of a s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: