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
How to hide a dummy date value.
Batch printing word document to non-default printer
server 2008 capacity
How many squares are in this diagram?
Excel - Find nearest words for top ranked (text mining)
DMZ with single WAN IP on SonicWall TZ-200?
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
ORA-00701: object necessary for warmstarting database cannot be altered
Access 2010 VBA - determining which "Yes/No" boxes are checked on a continupus form
How to open an XML file and change a value.