Returns the length of text. SLEN is often used to ensure that a string does not exceed the space allowed for it on a form, variable form, or report. When strings are concatenated or passed as parameters to a procedure file, the length of a string might be unknown.
In the following example, the value of vslen is 5, the number of characters in the text string.

SET VAR vslen = (SLEN('ABCDE'))







At 10:45 AM 11/16/01 -0600, you wrote:
Good Morning,

I'm sure this one's simple, but I haven't found the answer yet.  I
need to count the number of characters in a string.  Is there a
function for that?

Duey
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+        Duey Heffelfinger, Director of Computer Services            +
+ E-mail: [EMAIL PROTECTED]               Dana College           +
+ Phone : 402-426-7289                        2848 College Drive     +
+                                             Blair, Nebraska  68008 +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ If you can dream it, it can come true!                             +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Reply via email to