Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
left('7/8/2015',Index('7/8/2015','/',-1)-1) this is my function that output is 7/8 .But my requirement is i want only 8.
how we can achive it?
=TextBetween('7/8/2015','/','/')
HI sorry the exact question is
left('7/8/2015',Index('7/8/2015','/',2)-1) this is my function that output is 7/8 .But my requirement is i want only 8.
how we can achive it?
=Mid('7/8/2015',Index('7/8/2015','/',-1)-1,1)
hi thanks to sharp reply
by using left and index function how can get it?
Hi prabhas
You can use the function Textbetween or Subfield:
In your case Textbetween(Date, '/', '/') = 8
or
Subfield(Date, '/', 2) = 8
Regards
Burkhard
hi
by using left and index function how we can get it?
Hi,
How about if it is a string:
Mid('7/8/2015', Index('7/8/2015', 8), 1)
or if the field is a date:
Num(Month(Date('7/8/2015')))
Regards,
Brian
or
subfield('7/8/2015','/',1)
I think it is not possible because left returns the left part of a string strarting from a position ...