I am using this code to try and delete everything from the beginning bracket [ to the first semicolon. The memo field starts with the bracket and has several ';' however I only need to delete to the first semicolon. For example, the first pass shows a semicolon at 34; when I execute this code...
If I put them both in one or the other will stop working...
Removes white spaces...
stringvar input := {tbl.col};stringvar output := '';numbervar i;input := Trim(input);for i := 1 to Length(input)
Step 1 do if not(input[i] in [Chr(13),Chr(10)])
then output := output + input[i];output...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.