>Hy, I'm a french person and I'm very bad in english
>
> I want to know if i have a space in a txtfield, only the first and the last character can be but every thing in betwen must be illegal.
Pierre,
I think I understand what you want to do. Try this, it will return .T. if there is a space anywhere in a txtfield other than the first and last positions. If there are no spaces in the middle, it will return .F.
lResult = " "$SUBSTR(txtfield,2,LEN(txtfield)-2)
Previous
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