Solved by creating a string Object.

new String(OrientOBj);

On Thursday, 26 June 2014 21:48:12 UTC+1, Thomas Kennedy wrote:
>
> Hi,
>
> I am using the graph API in Javascript and was wondering how to split a 
> string,
>
>   var dStr = r[key].getRecord().field("@Rid");
>
>   dStr.slice(1,3)
>
> It gives an error
>
> Cannot find function slice in object #17:6
>
> Any tips on how to best copy the value out of the orient object so I can 
> edit?
>
> Regards,
> Tom
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to