boltc Posted December 25, 2006 Posted December 25, 2006 (sorry for my bad english..) i want to change "a" into "b" and if the string is "b" than i want to change it into "c".. when it is "c", i want to change it into "d".. and so on.. i think you have to convert the string into decimal characters.. can someone help me?
Zedna Posted December 25, 2006 Posted December 25, 2006 Here is one of more possible solutions: MsgBox(0,'abc',Convert('abc')) Func Convert($s) $s = StringSplit($s,"") $out = '' For $i = 1 To $s[0] $out &= Chr(Asc($s[$i]) + 1) Next Return $out EndFunc Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now