Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Separate Text Post Reply Post New Topic
Author Message
taniarto
Groupie
Groupie
Avatar

Joined: 15 Oct 2010
Online Status: Offline
Posts: 52
Quote taniarto Replybullet Topic: Separate Text
     Posted: 23 Sep 2012 at 11:44pm
Dear All,

I Have text like this :

A1234567

I want to separate the text so can result this :

a1=A ( the first character)
a2=1 ( the second Character)
a3= 2 the third
 an so  on..

please tell me the syntax to make it happened..

thanks..
IP IP Logged
comatt1
Senior Member
Senior Member
Avatar

Joined: 19 May 2011
Online Status: Offline
Posts: 337
Quote comatt1 Replybullet Posted: 24 Sep 2012 at 4:26am
a1=left({field},1)
a2=mid({field},2,1)
a3=mid({field},3,1)
a4=mid({field},4,1)
IP IP Logged
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum