Hi Sharath. If I understand you correctly, you should be able to concatenate the strings. Something like:
var title = "; var calendarDate9 = prefs.getString("keywords"); title = "Activity title " + calendardate9 + " text here"; Let me know if this doesn't answer your question. Cheers! - Jason On Jul 8, 1:11 am, sharath <[EMAIL PROTECTED]> wrote: > hello, > > presently my activity title is like: > > var title= ''; > title = ', Activity title text here '; > > I have a variable defined like dis in the same script: > > var calendarDate9=prefs.getString("keywords"); > > I need to substitute this variable in the activity title like > > var title= ''; > title = ', Activity title calendardate9 text here '; > > What is the proper syntax to achieve this? > > Thanks > Sharath --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---