开发者

Javascript code to extract a number from last of a string

I need开发者_运维百科 a javascript code to extract number from string like "pushedProductType0".


alert( "pushedProductType0".match(/\d/) )
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜