Microsoft
Software
Hardware
Network
Question : How do I extract characters after a hypen in query?
How do I extract the characters after hyphen in a query? I have a field called ContactSource that has the values General-(persons name) and Board-(persons name). I have been using =Mid([ContactSource] & "*",7) which returns the persons name correctly when preceded by Board- but not when preceded by General-. Help would be greatly appreciated.
Answer : How do I extract characters after a hypen in query?
Mid(ContactSource, InStr(1, ContactSource & "-", "-") + 1)
That returns an empty string for any instances that have no hyphen.
Random Solutions
Help with mysql delete duplicates query
Need assistance with creating a webpage with reconfirmation logic
Ho Do you Create a timeline Planner/diary in vb.net
Server Security
Capturing handwriting
Which Controller for 4 HD, RAID 1 mirrored drives?
SQL Server 2008 Licensing
Outlook Web App (OWA) 2010 defaults to light version for specific user
How to remove automatic login from Outlook 2010
How to determine hard disk activities