Candor.StringExtensions.LexicalIncrement C# (CSharp) 메소드

LexicalIncrement() 공개 정적인 메소드

Increments a source string to the next logical higher value. Characters are incremented without altering length first. If all character positions are at the highest character, then a new lowest value character is added to the end.
public static LexicalIncrement ( this source, LexicalCharacterSet charSet, System.Boolean ignoreCase ) : String
source this The source string.
charSet LexicalCharacterSet The character set to use. If the source string characters do not all fit in this set, an exception is thrown.
ignoreCase System.Boolean Specified if case is to be ignored for alpha characters.
리턴 String
        public static String LexicalIncrement(this String source, LexicalCharacterSet charSet, Boolean ignoreCase)
        {
            return LexicalAdd(source, charSet, ignoreCase, 1);
        }