General information
Category:
Coding, syntax & commands
Title:
STRTRAN() & Null as Replacement
Is the following a bug in STRTRAN()? It happens in VFP 7 & 9.
? ISNULL(STRTRAN('XXX', 'YYY', NULL)) && prints .T.
'YYY' doesn't appear in 'XXX', so why is it substituting NULL in the first place? If the expression sought doesn't exist in the expression to be searched, I would expect to have the expression to be searched returned as is, regardless of the replacement expression.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only