Dimenticare

split(string)

Jan 7th, 2016
7,510
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /// ds_queue split(String s, [char delimiter]);
  2. // Will only recognize double-quotation mark for block quotes, not single-quotation marks.
  3. // You can pass a multiple-character string as the delimiter but it'll never get recognized
  4. //      because string_char_at will never equal a multi-character delimiter.
  5.  
  6. var base=argument[0];                           // Base string
  7. if (argument_count==1)
  8.     var delimiter=",";
  9. else
  10.     var delimiter=argument[1];                  // Character to split around, default a comma
  11. var inline=false;                               // inside a block quote?
  12. var queue=ds_queue_create();                    // Contains the individual words
  13. var tn="";                                      // temporary substring
  14.  
  15. base=base+delimiter;                            // lazy way of ensuring the last term in the list does not get skipped
  16.  
  17. for (var i=1; i<=string_length(base); i++){     // for each character in the string:
  18.     var c=string_char_at(base, i);              //      Current character
  19.     if (string_char_at(base, i-1)=="\"){        //      If the previous character is a backslash, bypass the other checks
  20.         tn=string_copy(tn, 1, string_length(tn)-1);     // and remove the backslash
  21.         tn=tn+c;
  22.     } else if (c=='"'){                         //      If double quotation mark:
  23.         if (inline){                            //          If already inside a block, end the block
  24.             inline=false;
  25.         } else {                                //          If not already inside a block, start a block
  26.             inline=true;
  27.         }
  28.     } else if (c==delimiter&&!inline){          //      Delimiter met and not inside a block, enqueue and reset the substring
  29.         ds_queue_enqueue(queue, tn);
  30.         tn="";
  31.     } else {                                    // Just an ordinary character, add it to the substring
  32.         tn=tn+c;
  33.     }
  34. }
  35.  
  36. return queue;
Advertisement
Comments
  • User was banned
  • Ronvetir
    52 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • Saxtavin
    45 days
    # CSS 0.06 KB | 0 0
    1. We just shared HQ data on our channel: https://t.me/theprotocolone
Add Comment
Please, Sign In to add comment