作者musie (Sirius)
看板EE_DSnP
标题[问题] getStrVal的判断
时间Thu Apr 10 23:30:36 2008
// If 's' is a valid variable name, return "getVarVal(s, n)";
// else if 's' is a number, convert it to ModNum (e.g. by "myStr2Int") and
// assign to 'n'
在这边我想请问一下,如何检查string 里面是不是int呀。
有特别的指令吗??
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.248.196
1F:推 ric2k1:Please take a look at the files in "util" directory!! 04/10 23:32
2F:→ musie:喔..我找到了 ~"~ 谢谢老师.. 04/10 23:36