What does this block do

what does the find first occurrence of [ ] inside [ ] block output?

It finds the first occurrence of a character in a string

For example first value is ‘a’ second value ‘happy’ and it returns 2

@PLSHELPMEH patience bro, use the like button instead

2 Likes

clutter post

don’t post unless neccesary

that post had absolute 0 contribution to the topic

1 Like

what if its the first occurence of “ap” inside “happy”? Does it still return 2?

@PLSHELPMEH

  1. another clutter post, each post you make costs gimkit money
  2. you don’t gotta ping every time you reply, the person is already notified of a reply

Um… I think so? Let me check
Logically it would make sense

2 Likes

Ok so um…

  1. I messed up the parameters, first one is the whole text and second one is subtext
  2. It… doesn’t return anything for me?
    But yeah useful for logic gatesish

I just realized cause your title was what does it do

3 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.