[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Number of time a char is found in a string
- Subject: Number of time a char is found in a string
- From: David Dawes Stanley <stanledd@SNYONEVA.CC.ONEONTA.EDU>
- Date: Thu, 22 Oct 1998 04:04:57 -0400
- Importance: Normal
Does SQR have a string function to find the number of times a character is
found in a string? I'm working with comment fields that are up to 2000
chars. I need to find the total returns(linefeeds) so I can determine the
page break. I need to assign #linefeeds the correct value.
ie: if #current-line > #lines_per_param - #linefeeds
new-page
end-if
I looked in the manual and it didn't appear to have anything. Any input
appreciated.
David Dawes Stanley
Lead Programmer Analysis/Web Master
SUNY SICAS Center
http://sicas.suny.edu/
http://www.oneonta.edu/~stanley