Hi, i am doing some code. In this i have to break the lines in a file in chunks and push them in arrays. For example chink start form [ abababa bcbcbcb ] [ dedede gfgfgf ] like this the many chunks are predefined in file. I have to put each chunk in different arrays. Please suggest some path to do so. A thing i was thinking to count number of "[" from file and create that number of arrays. But i don't know create array using for loop with adding the loop variable number with their name.
In reply to need help to create array dynamically by vkp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |