Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetSubString for User names

Jenn Yoshikawa
Registered User
Join date: 14 Nov 2007
Posts: 91
07-26-2008 16:51
llGetSubString(userName, 0, 0); when use just this I get the 1st letter in my name. What I'm trying to do is get both so IE "Jenn Yoshikawa" would give jy.


any good ideas on how I would pull this off?
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
07-26-2008 17:00
list part = llParseString2List(userName, [" "], []);
string initials = llGetSubString(llList2String(part, 0), 0, 0) + llGetSubString(llList2String(part, 1), 0, 0);

Nothing else to say...
Jenn Yoshikawa
Registered User
Join date: 14 Nov 2007
Posts: 91
ty ty ty ty!
07-26-2008 17:04
Thank you so much I know I ask silly things lol