Re: Replace "dash" values in a field with new line- VB equivalent of Python

2013-03-19 Thread rusi
On Mar 19, 8:36 pm, Cathy James wrote: > Dear All, > I need some assistance with Python so that values in the "Name" field e.g. > Murray - James - Leo can be labeled as: > > Murray > James > Leo > > with a new line replacing every dash. > > Basically I need the equivalent of this VB in Python: > r

Re: Replace "dash" values in a field with new line- VB equivalent of Python

2013-03-19 Thread Neil Cerutti
On 2013-03-19, Cathy James wrote: > Dear All, > I need some assistance with Python so that values in the "Name" > field e.g. Murray - James - Leo can be labeled as: > > Murray > James > Leo > > with a new line replacing every dash. > > Basically I need the equivalent of this VB in Python: > replac

Re: Replace "dash" values in a field with new line- VB equivalent of Python

2013-03-19 Thread Dave Angel
On 03/19/2013 11:36 AM, Cathy James wrote: Dear All, I need some assistance with Python so that values in the "Name" field e.g. Murray - James - Leo can be labeled as: Murray James Leo with a new line replacing every dash. Basically I need the equivalent of this VB in Python: replace ( [Name]

Re: Replace "dash" values in a field with new line- VB equivalent of Python

2013-03-19 Thread Joel Goldstick
On Tue, Mar 19, 2013 at 11:36 AM, Cathy James wrote: > Dear All, > I need some assistance with Python so that values in the "Name" field e.g. > Murray - James - Leo can be labeled as: > > Murray > James > Leo > > with a new line replacing every dash. > > Basically I need the equivalent of this VB

Replace "dash" values in a field with new line- VB equivalent of Python

2013-03-19 Thread Cathy James
Dear All, I need some assistance with Python so that values in the "Name" field e.g. Murray - James - Leo can be labeled as: Murray James Leo with a new line replacing every dash. Basically I need the equivalent of this VB in Python: replace ( [Name] , "-", vbNewLine) I tried this but no luck: