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
Clients not connecting to WSUS
WSUS Clients not reporting to the WSUS console or SBS 2008 Console
How to set the forecolor a column in datagridview.vb.net 2005 windows
How do we use GPO (Group Policy) to REMOVE trusted sites from I.E. Trusted Sites Zone on workstations on a domain?
Sending email from ASP.Net 2.0
how can i translate gujarati sentence into english sentence ??
Populate an existing PDF form from PHP/MySQL recordset
Running the System Update readiness tool.
SQL Simple syntax issue - based on Group By / Having
IRC SSL certificate verification