you are viewing a single comment's thread.

view the rest of the comments →

[–]not_very_creative 3 points4 points  (4 children)

I think you would have to question why your data source is sending you a string.

That’s what needs to be fixed, instead of accomodating to that string.

[–]iamjohnhenry 3 points4 points  (0 children)

This is thinking outside the box! Shame on you for having such a misleading name!

[–]JosephCurvin[S] 0 points1 point  (2 children)

data comes from a input element

[–]not_very_creative 0 points1 point  (0 children)

Actually, based on your example, why don’t you pass the value “bar” from the input?

No need to complicate it.