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
Replace apostrophes in all Session Variables in C#?
Call Procedure from VB6 and pass paremeters
google search API C# jSON question
Run same stored procedure iterating thru parameters
AIX DB2 error
what is the best linux distro and ide for web programming (PHP) ?
Problems with accessing the Server "H drives" for users accounts
sbs 2008 windows update failing - error 8024402C
How do I convert a numeric entry to a text value (numbers to words)
Changing Default Web Site Properties