第一次提交
This commit is contained in:
10
Assets/Scripts/Utils/APIs.cs
Normal file
10
Assets/Scripts/Utils/APIs.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
public class APIs
|
||||
{
|
||||
public static bool IsUInt(string str)
|
||||
{
|
||||
Regex myReg = new Regex(@"\d+$");
|
||||
return myReg.IsMatch(str);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user