コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3844 ビュー

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 ?

アバター
破棄
最善の回答

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.

アバター
破棄
著作者 最善の回答

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

アバター
破棄

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

関連投稿 返信 ビュー 活動
1
11月 15
7287
2
8月 15
10174
0
3月 15
7012
4
3月 25
22809
2
4月 24
1864