View Single Post
  #1  
Old 07-13-2010, 08:05 AM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
tokenize weapon name

if have something like
PHP Code:
for (weps : player.weapons) 
going on and adding each to an array after meeting certain conditions, but when showing the weapon name i would want to cut out anthing before a "/".

Ex: "Staff/Tool"; I would only want it to show "Tool". I know its probably tokenize but dont know how to do that with something like a weapon name.
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote