public string ToLindenString(){
string s = ToString();
return s.Substring(0, 8) + "-" + s.Substring(7, 4)+ "-" + s.Substring (10, 4) + "-" + s.Substring(13, 4) + "-" + s.Substring(16, 12);
}
On 6/28/06, John Hurliman <
[EMAIL PROTECTED]> wrote:
Jesse Nesbitt wrote:
> Hello,
> As it stands, the current ToString() implementation for LLUUID leaves
> out the hyphens normally present in L(S)L keys. I hacked up an
> implementation of such a ToLindenString(), and I was wondering if
> anyone would actually USE it.
>
> --
> --Jesse
> ------------------------------------------------------------------------
I can add an overload of ToString for LLUUID that takes a (bool dashes)
to optionally add them in if you use myUUID.ToString(true); Send the
code this way.
John
_______________________________________________
libsecondlife-dev mailing list
libsecondlife-dev@gna.org
https://mail.gna.org/listinfo/libsecondlife-dev
--
--Jesse
_______________________________________________ libsecondlife-dev mailing list libsecondlife-dev@gna.org https://mail.gna.org/listinfo/libsecondlife-dev