SubString is a subtype of String, so any function accepting a String should accept a SubString. What function are you calling where this doesn't work?
-- Leah On Mon, Jul 21, 2014 at 11:13 AM, Ben Ward <[email protected]> wrote: > This is probably a simple question, I've done a string splitting operation > with split(), which has given me an array of SubString types, but I want > them to be of type String so as I can feed the bits of the split up string > to some method that requires a String type. string(*substring type*) does > not work. > > Thanks, > Ben. >
