Skip to Content
Menu
This question has been flagged
2 Replies
3854 Zobrazenia

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
Zrušiť
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
Zrušiť
Autor Best Answer

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

Avatar
Zrušiť

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

Related Posts Replies Zobrazenia Aktivita
1
nov 15
7290
2
aug 15
10180
0
mar 15
7013
4
mar 25
22869
2
apr 24
1876