Yoko

All sides of Injection
It is currently 2025-11-08 13:05:13

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Find in String
PostPosted: 2007-09-26 11:14:52 
Offline

Joined: 2006-11-02 14:07:13
Posts: 29
Location: near Cologne, GERMANY
Hallo,

I wish to find a special word in a string.

for example the word "glas" in the name of an object:

Code:
sub testen()
    var name
    UO.FindType("0x0E24", "-1", 'ZapfBeutel')
    name = uo.getname('finditem')
    ??? if FINDSTR("glas", name) then ???
        ...
    endif
end sub


is there a special command to find such a substring? maybe equal to inJournal.

thanks
Taya


Top
   
 Post subject:
PostPosted: 2007-09-26 17:32:30 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
mb

Code:
if uo.GetName('finditem')=='glas' then


?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited