I want to store URLs in a contract, which means I need a string of at most 16kB in size. However, I can probably get away with having a 2 or 4 kB string.
Unfortunately, Solidity only seems to support 256B strings and 64kB text objects. 32 ascii characters is way too small, and 8,192 ascii characters is way too many. What can I do to get strings of different sizes?