Perhaps a double, but I couldn't find an answer here, and neither in strings library.
I have a string public string = "ABCDEFG"
I need to put together a function that iterates through the characters of the string and returns the characters that are in between the input numbers.
for example, function getSlice(uint256 begin, uint256 end)
would return CDE
if passed 2 and 6.
What would be the best way to create such a function?