Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

String to Vector

Domneth Dingson
Registered User
Join date: 20 Nov 2006
Posts: 126
07-28-2007 19:14
I've gotten a vector to convert to a string. Now, what's the easiest way to convert it back into a vector?
Geuis Dassin
Filming Path creator
Join date: 3 May 2006
Posts: 565
07-28-2007 19:40
its called typecasting, in case you're not familiar w/ the terminology.

So, a vector to string would be (string)var_vector
A string to vector would be (vector)var_string

where var_* is just a variable name I made up.
Domneth Dingson
Registered User
Join date: 20 Nov 2006
Posts: 126
07-28-2007 19:43
From: Geuis Dassin
its called typecasting, in case you're not familiar w/ the terminology.

So, a vector to string would be (string)var_vector
A string to vector would be (vector)var_string

where var_* is just a variable name I made up.



Nope. Not familiar, but I am now. Thanks!