How to loliscript token.substring()?

Example: If a token = anVzdG9uZTEyMEB5YWhvby5jb206MTIzNDU2Nzg5MEFA . How do i substring it with a var ?
something like var tokensub = token.Substring(1, 10);

Please how do i do this in Loliscript?

  input = @token
  index = 1
  length = 10
  => VAR @tokensubstringOutput

thank you but how do i get VAR as a PARSE block?

Please couldn’t get the output

needs make a var whit string u want, whit that var u needs add to input thats all.