I am using this substitution to clean some inputted data.
I have used the same code numerous times before without problems.
Gives output of:-
Why is it substituting the string for a number?
Keith
I have used the same code numerous times before without problems.
Code:
$FieldValue = "Charlie----";
print "FVB - $FieldValue<br>";
$FieldValue = ~s/[^a-zA-Z0-9 \@\.]//gi;
print "FVA - $FieldValue<br><br>";
Gives output of:-
Code:
FVB - Charlie----
FVA - 18446744073709551615
Why is it substituting the string for a number?
Keith