How do i pull a the begining of this string but not the end..

string = 12345/67890

i want new_string = 12345
any help will be most appricated

thanks
brooke