Kaity's code output for Strings:
Strings Revisited
The string is: -- When Life Gives You Lemons. --note the spaces before and after the stringThe length of the string is: 29
Character (ASCII[32]) -- -- is in position 0
Character (ASCII[87]) --W-- is in position 1
Character (ASCII[104]) --h-- is in position 2
Character (ASCII[101]) --e-- is in position 3
Character (ASCII[110]) --n-- is in position 4
Character (ASCII[32]) -- -- is in position 5
Character (ASCII[76]) --L-- is in position 6
Character (ASCII[105]) --i-- is in position 7
Character (ASCII[102]) --f-- is in position 8
Character (ASCII[101]) --e-- is in position 9
Character (ASCII[32]) -- -- is in position 10
Character (ASCII[71]) --G-- is in position 11
Character (ASCII[105]) --i-- is in position 12
Character (ASCII[118]) --v-- is in position 13
Character (ASCII[101]) --e-- is in position 14
Character (ASCII[115]) --s-- is in position 15
Character (ASCII[32]) -- -- is in position 16
Character (ASCII[89]) --Y-- is in position 17
Character (ASCII[111]) --o-- is in position 18
Character (ASCII[117]) --u-- is in position 19
Character (ASCII[32]) -- -- is in position 20
Character (ASCII[76]) --L-- is in position 21
Character (ASCII[101]) --e-- is in position 22
Character (ASCII[109]) --m-- is in position 23
Character (ASCII[111]) --o-- is in position 24
Character (ASCII[110]) --n-- is in position 25
Character (ASCII[115]) --s-- is in position 26
Character (ASCII[46]) --.-- is in position 27
Character (ASCII[32]) -- -- is in position 28
The first 'e' is in position 3
The first 'o' is in position 18
Place the string When Life Gives You Lemons. into the second index of an array
The string located at the second index of the array is: When Life Gives You Lemons.
The third character of the When Life Gives You Lemons. string at the second index of the array is: e
Explode the string When Life Gives You Lemons. into an arrayWhen Life Gives You Lemons. When Life Gives You Lemons. When Life Gives You Lemons. When Life Gives You Lemons. When Life Gives You Lemons. When Life Gives You Lemons.
Array ( [0] => [1] => When [2] => Life [3] => Gives [4] => You [5] => Lemons. [6] => )
--- When Life Gives You Lemons. ---
---When Life Gives You Lemons.---
encrypt of When Life Gives You Lemons. is: xxzB1OYBEfKv6
md5 for When Life Gives You Lemons. : f777db9bc4d30627d7e9915ab2a8a31a
Implode the array back into a string: When Life Gives You Lemons.