Re: trimming in multiple line variables in bgt
Ah, I see. I only had it split with “\n”
URL: https://forum.audiogames.net/post/441771/#p441771
--
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo
Re: trimming in multiple line variables in bgt
Line endings are CR ("\r"), LF ("\n"), or CRLF on windows ("\r\n")The best way of handling this would be to split the string by both. As you might recall, the string_split function contains a boolian parameter tha
Re: trimming in multiple line variables in bgt
well ok. Here's what I am trying to accomplish here. This is part of the rhythm rage level creator project.So let's say I have a file like thisname=sound1fail=sound2late=sound3I want to change the sound for fail=. So I select my soun
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 doin
trimming in multiple line variables in bgt
Ok. So I've run into an annoying issue. Let's say I have the followinghi, I'm aliveI am hungrygive me something to eatLet's say I want to remove the word alive from the first line, and I want to use the line separator as a refe