Hi, I would like to read the first character from a string and use the left() function:
Function.Call(left(system_msg.Text, 1)) but for some reason it outputs always "0" ... any idea what could be my mistake here?
In what way are you trying to use this : Function.Call(left(system_msg.Text, 1))
Could you share the events?
Develop games in your browser. Powerful, performant & highly capable.
prntscr.com/6wh735
system_msg is something like "3<script.........blablabla" and I just want to read the 3 in the beginning.
set text = left(system_msg.Text, 1)
should be enough..
Don't know where the function.call came from.
that worked. I thought calling the function only works with Function.call().
you dont need 2 times to set text...just
set Text to............................................................left(AJAX.LastData,1)
you dont need 2 times to set text...just set Text to............................................................left(AJAX.LastData,1)
i know..but..im a programmer and i like to ahve things seperated