C# 判断 字符串从左包含另一字符串

2025-05-11 20:40:33
推荐回答(1个)
回答1:

if(a.substring(0,5)=="1.1.1")
return 1;
else
return 0;