Skip to Content
Menu
This question has been flagged
2 Replies
3033 Views

How I can translate field value  for example (124/P1/25 to 124-1-25). Actually how I can do sting operations  in Report Designer ?

Avatar
Discard
Best Answer

Hello my friend;

here is how you can convert your (124/P1/25 to 124-1-25).

Answer:

s = "124/P1/25"

print s

s.replace('/','-')

print s

s = s.replace('/','-')

print s

s.replace('P','')

print s

s = s.replace('P','')

print s

Best Regards.

Avatar
Discard
Author Best Answer

Thanks  I used that [ ((o.fiskal_broj).replace('/','-')).replace('P','') ]]  in my report. You helped me a lot. :)

Avatar
Discard

in your service :) but why dont you vote ;)

Related Posts Replies Views Activity
1
Nov 15
6347
2
Aug 15
9012
0
Mar 15
6060
3
Nov 24
16844
2
Apr 24
530