It looks like you're new here. Sign in or register to get started.
MyVar := 'a'; // number = 65 MyVar += 1;
kriki wrote: » If you have a string (text or code) (no need for char-variable): TheString := 'AAA'; TheString[1] := TheString[1] + 1; //[1] is the first char in the string MESSAGE('%1',TheString); // => BAA
Answers
If you define MyVar as Char, you can do this:
After this, MyVar wil be b.
Thanks guys.
TheString := 'AAA';
TheString[1] := TheString[1] + 1; //[1] is the first char in the string
MESSAGE('%1',TheString); // => BAA
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!