Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
beck_bakytbek
Master
Master

Right sharing of fields

Hi Folks,

i got a Situation, where  i am facing with the following issue, my fields do look like:

Project

121513_01

121513_02

121512_123

121512_1245

my expected Output does look like:

Project             PositionNr

121513                01

121513                02

121512                123

121512                1245

 

i used the Function: Right() but my results does look not correct, because the last number consist of 2, 3 or 4 Numbers.

Does anybody have any idea or Suggestion, how to resolve this issue?

 

Thanks a lot in Advance for Feedback and help

Beck

Labels (1)
1 Solution

Accepted Solutions
pradosh_thakur
Master II
Master II

load subfield(Project,'_',1) as Project,

  subfield(Project,'_',2) as PositionNr

from


< Table anem>; 

 

Learning never stops.

View solution in original post

9 Replies
pradosh_thakur
Master II
Master II

load subfield(Project,'_',1) as Project,

  subfield(Project,'_',2) as PositionNr

from


< Table anem>; 

 

Learning never stops.
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

pradosh_thakur
Master II
Master II

load subfield(Project,'_',1) as Project,

  subfield(Project,'_',2) as PositionNr

inline [
Project

121513_01

121513_02

121512_123

121512_1245
];
Learning never stops.
Somasundaram
Creator III
Creator III

hi,

 

Use this.,

SubField(project,'-',1) as Project 

SubField(project,'-',2) as PositionNr

 

 

 

 

 


-Somasundaram

If this resolves your Query please like and accept this as an answer.
Channa
Specialist III
Specialist III

SubField(Project, ' _',1) as project,


SubField(Project, '_ ',-1) as projectNr

Channa
beck_bakytbek
Master
Master
Author

Pradosh, thanks a lot for your time and help

beck_bakytbek
Master
Master
Author

Bacius, thanks a lot for your help and time

beck_bakytbek
Master
Master
Author

Somasundaram, thanks a lot for your time and help

beck_bakytbek
Master
Master
Author

Channa, thanks a lot for your help and time