# Split long text into two peaces

Hi!
I have a long text like that:
2 = 1 Liter H2SO4
3 = 250 ml. H2SO4
4 = 1 Liter HNO3
6 = 250 ml. HNO3
7 = 1 Liter unpreserved
8 = 250 ml. unpreserved
9 = 1 Liter NaOH amber glass
9** = 1 Liter NaOH + zinc acetate
10(a) 1 Liter amber glass H2SO4
10(b) = 1 Liter amber glass unpreserved
10(c) = 1 Liter amber glass EDTA, KH2Ct,
ascorbic
11 = 40 ml amber voaH2SO4
12 = BacT Sterile, Na
13a = 40 ml voa unpreserved
13b = 40 ml HCL preserved
14 = 1 Liter unpreserved (wide-mouth)
16 = 500 ml unpreserved (wide-mouth)
17 – 250 ml HCL
18 = 8oz. glass no preservative
19 – 250ml amber glass unpreserved
20 – 250ml amber glass H2SO4

I need to split this text into two like that:
list1: 2 = 1 Liter H2SO4
3 = 250 ml. H2SO4
4 = 1 Liter HNO3
6 = 250 ml. HNO3
7 = 1 Liter unpreserved
8 = 250 ml. unpreserved
9 = 1 Liter NaOH amber glass
9** = 1 Liter NaOH + zinc acetate
10(a) 1 Liter amber glass H2SO4
10(b) = 1 Liter amber glass unpreserved
10(c) = 1 Liter amber glass EDTA, KH2Ct,
ascorbic

list2: 11 = 40 ml amber voaH2SO4
12 = BacT Sterile, Na
13a = 40 ml voa unpreserved
13b = 40 ml HCL preserved
14 = 1 Liter unpreserved (wide-mouth)
16 = 500 ml unpreserved (wide-mouth)
17 – 250 ml HCL
18 = 8oz. glass no preservative
19 – 250ml amber glass unpreserved
20 – 250ml amber glass H2SO4

Please tell me how can I do that?

How would you like to split the text? Using what criteria?

No criteria. Just two equal pieces.

Equal in what sense?

The split is at 10 major sections (ignoring “dot” entries) kind of like software release numbers. This isn’t really possible (in Bubble) unless the “dot releases” are different objects. I suspect the OP is operating on strings in a naïve manner.

This topic was automatically closed after 70 days. New replies are no longer allowed.