I've just tested the constructor with a dummy example, and it works so 
obvious the error is elsewhere, I'll find it and update.


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 <axolotl...@gmail.com 
> <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.
>>
>
>

Reply via email to