I need to translate a string of characters, for example "Hello"
, into a string of numbers which is the ASCII numeric codes.
Example: 0 -> 48; a -> 97
, etc.
Does anyone know an R function to do this? Hopefully, the function or piece of code will translate "Hello"
into a numeric string like
c(72, 101, 108, 108, 111)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…