Bad Boy JH
2010-10-12 23:26:24
In all my time coding, I never really had to do much with string manipulation, however, I do need some help with it now. I have a string, which varies in length, and the bit I want is in the centre. This is an example of the string
have a chocolate bar for free.
I want the 'chocolate bar' section, which can change, the 'have a ' section and the ' for free.' section stay the same length ('have a ' is 7 and ' for free.' is 10).
how can I remove that middle portion of the string…
and for the record this is for a reflection - Sandwich Lady random solver.
have a chocolate bar for free.
I want the 'chocolate bar' section, which can change, the 'have a ' section and the ' for free.' section stay the same length ('have a ' is 7 and ' for free.' is 10).
how can I remove that middle portion of the string…
and for the record this is for a reflection - Sandwich Lady random solver.