Ref ID will be changing randomly please let me know i can't hard code that part
On Jan 29, 10:32 am, sHiVa <krapa.ph...@gmail.com> wrote: > Hi Vasu, use this code; > > #***************************************************** > > text="Ref ID: 12345" > num=text.split(":") > intnum=num[1].to_i > print intnum > > #***************************************************** > > I hope this will help u . :) > > On Jan 29, 9:56 am, vasu <br.vas...@gmail.com> wrote: > > > Hi, > > > Iam new to watir can anyone help me in this regard: > > > "Your are registered as a Member, we will SMS you soon. Ref ID: 12345 > > > I want to Pick that 12345 from the the above output. > > > Please helpme.... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---