string question

V

Victoria

let's say i have a textbox holding the value 12ah6/6SQ61. I need a function
that will output the string before the /, and another that outputs the string
after the /. How do i do this?

thanks in advance
Victoria
 
F

fredg

let's say i have a textbox holding the value 12ah6/6SQ61. I need a function
that will output the string before the /, and another that outputs the string
after the /. How do i do this?

thanks in advance
Victoria

Before = Left([Fieldname],InStr([FieldName],"/")-1)
After = Mid([Fieldname],InStr([FieldName],"/")+1)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top