Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'String Partitions reverse ?' topicStudent Support Forum > General > "String Partitions reverse ?"

Next Comment >Help | Reply To Topic
Author Comment/Response
Robert
10/04/06 03:49am

I have a message: "message to numbers"

I make partitions of it:
{mes, sag, e t, o n, umb, ers}

Make it to char code,
{{109, 101, 115}, {115, 97, 103}, {101, 32, 116}, {111, 32, 110}, {117, 109, 98}, {101, 114, 115}}

FromDigits
{120342390469989, 111467825229170, 126888172216947}
IntegerDigits

Back to char code, What to do after/before this ???
{{109, 115, 101, 111, 117, 101}, {101, 97, 32, 32, 109, 114}, {115, 103, 116, 110, 98, 115}}

FromCharacterCode
{mseoue, ea mr, sgtnbs}

As you see i have no function to reverse the partitions function. So all the letters gets screwed up.
Any ide how to easy fix this so the message becomes normal again ?

URL: ,

Subject (listing for 'String Partitions reverse ?')
Author Date Posted
String Partitions reverse ? Robert 10/04/06 03:49am
Re: String Partitions reverse ? Peter Pein 10/04/06 11:11am
Re: String Partitions reverse ? Peter Pein 10/04/06 11:19am
Next Comment >Help | Reply To Topic