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
PHP, ASP, Moneris
Can you setup Remote Desktop Gateway and Remote Desktop Services on the same Server
How do I get our WAN address using Windows Power Shell
SSIS getting data from SQL to Oracle
Crystal reports how to insert page break dynamically
RSH client for windows 2008 r2
CentOS 5.3: install: booting off USB: misunderstanding....is there a way I can INSTALL linux from an USB drive?
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
Carrier Unlock for iPhone 3GS iOS 4.0.1 (8A306)
Enhancing a hotspot button to include reply with history