Jump to content

Funzione Find


Recommended Posts

Posted

buongiorno a tutti

ho il problema che segue con la funzione find:

%MW1182:=FIND(%MB2040:16;%MB1618:10)

DOVE:

I 16 CARATTERI CHE PARTONO DA %MB2040 SONO

"."+393483046427

E I 10 CHE PARTONO DA %MB1618 SONO

3483046427

FIN QUI TUTTO BENE NEL SENSO CHE MI VIENE ASSEGNATO IL VALORE 7 NELLA %MW1182.

IL PROBLEMA NASCE QUANDO A PARTIRE DALLA %MW1618 CI SONO I CARATTERI

3483046457 (CAMBIA LA PENULTIMA CIFRA)

IN QUESTO CASO MI ASPETTEREI COME RISULTATO -1. INVECE MI TROVO 10!

QUALCUNO HA GIA' AVUTO QUASTO PROBLEMA?

GRAZIE. SALUTI

Posted

mi spiace ma deve essere =-1

guarda bene come costruisci le tue stringhe ci sarà lì un errore non di certo nella funzione FIND

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...