Re: trimming in multiple line variables in bgt

2019-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
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

2019-06-15 Thread AudioGames . net Forum — Developers room : cartertemm via Audiogames-reflector
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

2019-06-15 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
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

2019-06-14 Thread AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector
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

2019-06-13 Thread AudioGames . net Forum — Developers room : Zarvox via Audiogames-reflector
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