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 use data base in jsp?
SQL Server 2005 Memory Usage
Calender applications.....
Upgrade Sqlite in RHEL5.4
How many languages does .NET support?
How many types of pages r there in SQL Server?
Powershell script to delete files older than x days
Access chart sorting
Setting Up Exchange Email on Apple IPAD
Migrate from Blackberry Enterprise 4.1.6 to BlackBerry Server Express version 5.0 SP1