Categories > TinyButStrong general >

Method with string variable containing fullstop

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: ncatnow
Date: 2008-08-10
Time: 14:57

Method with string variable containing fullstop

Having trouble merging a field which calls a method that takes a filename as variable.

[var.obj.method(image.png)]

Is there a way to escape the last fullstop? I think that's is what's causing the problem. Error:

item method(image' is neither a method nor a property in the class 'obj'

Thanks
By: Skrol29
Date: 2008-08-14
Time: 01:50

Re: Method with string variable containing fullstop

Hi,

There is not such a way for now. I know this can be frustrating to have a something like a half-feature.
The fact is that the more the HTML side syntax gives possibilities, the more we need.
By: ncatnow
Date: 2008-08-14
Time: 01:55

Re: Method with string variable containing fullstop

Thanks Skrol29. I understand what you are saying!

Until then, I just used another symbol to represent the full stop (a '#'), and used the object method to replace with full stop

Cheers