+ Start a Discussion
minkeshminkesh 

Convert Object data Type to Text ?

Hi All,

           I hope you all are doing well.

           I am getting one problem please help me.

           I have taken One List<Object> .

           I am iterating on this Object and i have requirement to check weather this Object Contains '$' or not so for that i am using contains but the problem is contains is working only for TEXT.

          So can anybody tell me that how to convert this Object to TEXT on visualforce page side.

          Please reply me ASAP.

bob_buzzardbob_buzzard

I think you'll have to convert this server side in order to be able to use it as text on the page.  You could look at creating a list of wrapper classes rather than a list of objects.  The wrapper class could contain both the object and a boolean value that indicates if it is a string containing the '$' character.