Sorry, didn't pay attention.
startsWith is a string function added by FET to the string prototype.
You can't perform on an array, which is what readBracketedList()
returns. So, do you have to do a readBracketedList to begin with?
What about...
store.getValue(tiddler,"fieldone").startsWith(["A"])
Or simply...
store.getValue(tiddler,"fieldone").indexOf("A")==0
Tobias.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=.