i'm currently writing a program that needs one small piece in my opinion in order to work. i have an array which reads in a bunch of numbers (call them addresses, an example is "003124") and counts the amount of addresses at the moment. i need this to be passed into a switch statement that does certain things for each number in each address, i've written a mix of code/pseudocode
entil EOF do; string = input; len = length(string); for i=1 to len do ch = substr(string, i-1, 1) switch(ch) //case statements
i want each "string" in the input to be a single address. does anyone know how to do this? i'll provide more information if needed.
thanks in advance.