On Thu, 26 Jan 2006 20:35:26 +, Danny wrote:
> Hello again,
>
> I am now trying to make something to change some "encrypted" text into
> some plain text, here is the code I have so far:
>
> text = '@[EMAIL PROTECTED]@[EMAIL PROTECTED]' // some text
> num = '213654' // Number
> s1 = '700'
>
Ok there's a couple things going on here.
> t = text.split('@') // splits the digits/blocks apart from each other
this will give you a list:
['', '7706', '7002', '7075', '7704']
You may want to change the line to skip the first empty value:
t = text.split('@')[1:]
Next your loop.
> something = 1
Danny wrote:
> Hello again,
>
> I am now trying to make something to change some "encrypted" text into
> some plain text, here is the code I have so far:
>
> text = '@[EMAIL PROTECTED]@[EMAIL PROTECTED]' // some text
> num = '213654' // Number
> s1 = '700'
> s2 = '770'
> s4 = '707' // it adds t