General information
Category:
Coding, syntax & commands
I just thought of an easy solution atc() returns the charactor number where "bmp" occurs. I have memowidth set to 200. So if it occured on charactor number 3267, then 3267/200 would be the line number. THat would be 16.335, so I would round that to 16. (i think or would it be 17?)
Chris
>>Is there anyway I can search for a particular occurance of a charactor string? Say I have a memofield and I am searching for "bmp", can I somehow tell it search for the 2nd time "bmp" shows up? I know you can do that with atc() but it would be a lot easier if I could use atcline()
>
>How about find the occurance of BMP you want, then, search just the text before it for carriage returns? Then you'll know what line its on.
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