Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-25-2006, 01:42 AM
naokohiro naokohiro is offline
Twilight Ninja
naokohiro's Avatar
Join Date: Jun 2006
Posts: 70
naokohiro is on a distinguished road
what's the gs2 version of the function "indexof(partstr,str)"?
__________________
Quote:
Originally Posted by MisterMastermind
That's right, but you're now our new pixel monkey. Get to work or no banana.
Reply With Quote
  #2  
Old 09-25-2006, 03:12 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Quote:
Originally Posted by naokohiro View Post
what's the gs2 version of the function "indexof(partstr,str)"?
str.pos(partstr) returns where 'partstr' appears in a string
str.index(partstr) returns where 'partstr' appears in an array
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.