What do you do when number is too big to process? Part II

    Dec 11 2011 | 3:24 pm
    Hi everyone,
    About a year ago I asked you folks about what to do if you wanted to do some calculations with really big numbers. It was related to something specific, meaning date and time. You can follow the discutions here: https://cycling74.com/forums/what-do-you-do-when-number-is-too-big-to-process . And the discutions went towards that direction (date and time).
    This time around I am asking you what should one do if he wanted to extract, for example 530 out of a big number like 500676798709076558759
    [sprintf %s %s] is good for combining 2 symbols. Does it do the reverse? I was thinking of treating the big number as a symbol and splitting it. Afterwards I could just extract 530 from the second part of the big number. And then I would recombine it.
    Thank you all, ygr

    • Dec 11 2011 | 6:08 pm
      Perhaps the string related objects ("strpbrk" and "strstr" in particular)from Jasch objects could be of some help regarding your issue.
    • Dec 11 2011 | 11:10 pm
      If you're fine using it as a symbol, you can work with [regexp]:
    • Dec 11 2011 | 11:38 pm
      Both solutions look pretty neat! I will check them properly later on.
      Thank you so much, fellaz! :D