Yoko
http://forum.yoko.com.ua/

Find in String
http://forum.yoko.com.ua/viewtopic.php?f=3&t=12518
Page 1 of 1

Author:  Taya [ 2007-09-26 11:14:52 ]
Post subject:  Find in String

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

Author:  Scripts Writer [ 2007-09-26 17:32:30 ]
Post subject: 

mb

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


?

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/