The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
convert integers to characters in string
#1
hello

i want to convert integers into characters,
with the rule 0>a,1>b,2>c,3>d,4>d,....

i mean: for example

int i=0
int j=3
str s

i want to have s="ad" !!!

how can i do that?
maybe something with character codes ( i saw that a~97,b~98,...)

Thanks


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)