I am attempting to use tokenize but it seems I can not use a variable as a token name:
This works perfectly:
This fails:
It seems that the token replacement can not be a variable??
Ideas? Thoughts? Bug?
Bill
This works perfectly:
Code:
<mvassign name = "replacements[1]:token" value = "{ 'access_token' }"> <mvassign name = "replacements[1]:value" value = "{ gettoken(theString,',',2) }"> <mveval expr = "{ tokenize('%access_token% lives in Sweden.',replacements) }">
Code:
<mvassign name = "replacements[1]:token" value = "{ gettoken(theString,',',1) }"> <mvassign name = "replacements[1]:value" value = "{ gettoken(theString,',',2) }"> <mveval expr = "{ tokenize('%access_token% lives in Sweden.',replacements) }">
Ideas? Thoughts? Bug?
Bill
Comment