Hey,
I need a function that can take an address and boil it down into just the numbers, but I need to know all the different options of numbers. For instance with this address:
1125 Hwy101 Apt 7
I would need to return:
1125, 101, 7, 1125101, 11257, 1017, and 11251017 (there may be more options I can't see?)
Can anyone think of a way to do this? I can get close with a loop inside a loop but it misses a lot of the combinations.
Thanks
Travis Hawkins
I need a function that can take an address and boil it down into just the numbers, but I need to know all the different options of numbers. For instance with this address:
1125 Hwy101 Apt 7
I would need to return:
1125, 101, 7, 1125101, 11257, 1017, and 11251017 (there may be more options I can't see?)
Can anyone think of a way to do this? I can get close with a loop inside a loop but it misses a lot of the combinations.
Thanks
Travis Hawkins