码迷,mamicode.com
首页 > 其他好文 > 详细

AX 2012 check 输入

时间:2017-03-10 17:51:42      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:string   err   rpo   pos   byte   strlen   sys   for   boolean   

public static boolean checkInputExist(str _inputStr,str _checkStr)
{
    int byteLen;
    int errorPos;

    System.String checkB;
    int ii;
    boolean ret;

    checkB = _checkStr;

    for(ii = 1; ii <= strLen(_inputStr); ii++)
    {
        ret = checkB.Contains(subStr(_inputStr, ii, 1));
        if(!ret)
        {
            return true;
        }
    }

    return false;
}

 

AX 2012 check 输入

标签:string   err   rpo   pos   byte   strlen   sys   for   boolean   

原文地址:http://www.cnblogs.com/fogfog/p/6531439.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!