Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
string to list
Old
fh123
Guest
 
Status:
Posts: n/a
Default string to list - 04-26-2011, 07:27 PM

Hi everyone,

my first post

Is there a way to take a string, say from "ask user for a string" and turn it into a list of the letters?, i.e.
"hi" -> ['h','i']

the point is to do simple encryption.

Thanks.
   
Reply With Quote
 

Tags
letter, list, string


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.