Is that possible also with something similar.
You could repurpose it, yes.
OR, use it as a building block.
The example takes your text, say "1, 2.4, 49, -1"
and separates them based on comma/whitespace into a data block of (up to 100) strings called Tokens
Tokens0 = "1"
Tokens1 = "2.4"
Tokens2 = "49"
Tokens3 = "-1"
Tokens4..99 = ""
and NumTokens is set to 4.
So you could THEN write another subroutine that takes Tokens block and NumTokens and inserts "%20" of each token and appends it to SL0
STRCLEAR SL0
FOR V0 0 NumTokens-2
STRPRINT SL0 Append Tokens[V0] "%20"
NEXT
STRPRINT SL0 Append Tokens[V0+1] // the last one does not need a "%20"