Hi Swapnil,
by using APPLICATION.getUserAgent() am able to get the device the application is running on but now as I have to search for term mobile in the returned string am again stuck on how to search for a string in another string i.e. the result given by the command APPLICATION.getUserAgent() is in string with having word Mobile when running on iPAD/Mobile and OS name otherwise, now am trying to search for the string "Mobile" in the output of the command APPLICATION.getUserAgent() but am unable to search for a specific word in a string, can you help in that.