Scripting Problem
Hy guys!
I've got a little "problem" with VB scripting in BarTender..
So,
We have a string, and the new task for us is the following:
If the string contains "3011" then write somthing after the string.
For example: 7678[b]3011[/b]kpk01 then write after "ABC". 76783011kpk ABC
How can i make this script?
Thanks,
Mima1017
I've got a little "problem" with VB scripting in BarTender..
So,
We have a string, and the new task for us is the following:
If the string contains "3011" then write somthing after the string.
For example: 7678[b]3011[/b]kpk01 then write after "ABC". 76783011kpk ABC
How can i make this script?
Thanks,
Mima1017
0
-
Use an OnProcessData VB script with something like the below expression:
[code]
If InStr(value, "3011") > 0 Then
value = value & " ABC"
End If
[/code]0 -
Legacy Poster
★ BarTender Hero ★
[quote name='Ian C - Seagull Support' timestamp='1342604140' post='2883']
Use an OnProcessData VB script with something like the below expression:
[code]
If InStr(value, "3011") > 0 Then
value = value & " ABC"
End If
[/code]
[/quote]
Oh, many thanks for you!!
It's works!
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires