String To List2

Routine Summary

Converts a String into a List

Inputs

Str1

Outputs

L₁

Variables Used

A,B, Str0, Str1, L₁

Calculator Compatibility

TI-83/84/+/SE

Author

Toothless the Dragon

" ABCDEFGHIJKLMNOPQRSTUVWXYZ->Str0
DelVar L1
int(length(Str1)/7->dim(L1
For(A,0,dim(L1
0
For(B,1,min(7,length(Str1)-7A
Ans+.1^(2B)inString(Str0,sub(Str1,B+7A,1
End
Ans->L1(A+1
End
"

This code was made as an alternative to the string-to-list code. it works in conjunction with the list to string alternative.

Related Routines

.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License