[GIS] VB scripting in ArcGIS Field Calculator

arcgis-desktopfield-calculatorvbscript

In my attribute tables field I am trying to get rid of the "&" in between names i.e. "John Adams & wife" and want it to say "John Adams and Wife" in all the attributes with "&".

What is the VB for that?

I can't seem to find it in the help page of ArcGIS.

Best Answer

Check out the replace function in the calculate field examples. Something like this should do it:

NewString = Replace([comments], "&", "and")