
how I can take the first letter of variable (ex: hola return h)
?
tnx
Moderators: Murderator+, Murderator
Code: Select all
sub Test()
var TextLine='Big line'
var Digit=182341
UO.Print(TextLine[0])
UO.Print(Left(str(Digit),1))
end sub
Code: Select all
VAR b = 3,2, c, d, e
c = str( b )
UO.Print( c )
d = left( c, 1 )
UO.Print( d )
e = c[0]
UO.Print( e )
Code: Select all
sub RoundUp(Value)
return int(Value+0.9999)
end sub