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
Creation of RAID device fails
send as different user - exchange 2003/outlook 2003
Hex to ASCII conversion in C#
The operation can't be completed.....
How do I dynamically sum up/display customcontrol (ascx control in the item template) values into an asp:repeater footer?
Collect Windows 7 Product ID Scripr
Convert C into vb
Cannot puTTY to Fedora 13
Drive directory reference change /dev/sda to /dev/sdb etc
Transport-level error / (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)