Page 1 of 1

STRINGS

Posted: 2004-12-17 19:15:22
by raiden
Is there any function to split a string? For example if i have "hey you", is there any way to set a var a = hey and a var b = you ?

Re: STRINGS

Posted: 2004-12-17 19:21:51
by Edred
raiden wrote:Is there any function to split a string? For example if i have "hey you", is there any way to set a var a = hey and a var b = you ?


VAR a = 'hey'
VAR b = ' '
VAR c = 'you'
VAR d = a+b+c

Posted: 2004-12-17 19:47:29
by raiden
i need to SPLIT them, not to ADD :D

Posted: 2004-12-18 16:29:32
by Edred
raiden wrote:i need to SPLIT them, not to ADD :D


VAR a = 'hey you'
VAR b = left( a, 3 )
VAR c = right( a, 3 )
VAR d = mid( a, 4, 1 )
; b = 'hey'
; c = 'you'
; d = ' '

Posted: 2005-01-02 14:19:12
by raiden
Is there any way to use UO.InJournal() to search for party messages? Party messages are not considered as journal lines.. Infact I don't see them in ,showjournal neither.

Posted: 2005-01-02 15:33:32
by clagio
at the moment isn't possible.. :(