I'm calling the constructor go a type I made, there's a string field is accepts to fill a string field in the type.
On Monday, July 21, 2014 5:17:25 PM UTC+1, Leah Hanson wrote: > > 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] > <javascript:>> 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. >> > >
