[ Main Menu ] [ Extension Tools Menu ] [ Basic Edition Menu ]

<iSTRTRIM> Tag


<iSTRTRIMSRC="stringtotrim"
TYPE ="<left | right | both>"
>

This trims spaces from the left, right of both ends of a string.
UsageThis tag can be used to trim off extra spaces so that iSTRLEN returns consistent values for a string that is effectively the same. In many cases, extra spaces get into strings from users typing them in. To compare strings correctly, it is usually a good idea to trim extra spaces out.


iSTRTRIM example
Example Source Code
Top