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);
        }