HI DANIWEBBIES, this is my prob.

<% if trim(rs2.Fields("loan_approve"))="Yes" then %>Approved<% else %> <a href="loan_approve.asp?id=<%rs2.Fields("stud_id")%>

in this line of code , wht is the function of trim ? plz fill me in on this. help appreciated.

Recommended Answers

All 3 Replies

TRIM is a built-in function that removes white space from the start and end of a string. Variants of the function are LTRIM and RTRIM, to trim whitespace from only the left and right respectively.

using database connection how order the records using trim function in asp only

trim function means only use alignment of left and right string

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.