Re: trimming in multiple line variables in bgt
OK, so trimming and removing a word from a string are two different things. What do you really want to accomplish? Trimming seems to be rather inefficient here, because you'd need to re-join the entire string again.
How about just doing
text = string_replace(text, "alive", "", false);
instead?
There are of course more flexible ways possible using string_left and string_right, but I wouldn't use the trim methods to accomplish this task.
Best Regards.
Hijacker
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector