Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Split string into array by delimiter

Featured Replies

  • Author
  • Localization

Garo, posted Sat Apr 17, 2021 11:22 pm (63421)


I have a string that's delimited by nulls (I put spaces instead)

I want to split the string into an array by nulls. Then loop through each item in the array and log it.

Code:
./SE_PLAYER/char/GAN/jump01.gsn ./SE_PLAYER/char/GAN/jump02.gsn ./SE_PLAYER/char/GAN/itemTake.gsn ./SE_GAME/w00s00/fruit.gsn ./SE_GAME/w00s00/star.gsn
  • Author
  • Localization

chrrox, posted Thu Apr 22, 2021 12:14 pm (63507)


in what programming language?
you could just take a hex editor and replace 0x00 with 0x0D 0x0A
and save it as a text file.
  • Author
  • Localization

aluigi, posted Thu Apr 29, 2021 7:55 am (63632)


I guess he refers to quickbms.
In that case I guess the only option is using getct:
Code:
for
    getct NAME string ' '
    putarray 0 -1 NAME
next
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.