Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1002835 - swic - synonym of startsWithIgnoreCase

JavaX fragment (include)

static boolean swic(S a, S b) {
  ret startsWithIgnoreCase(a, b);
}

ifclass Matches
  static bool swic(S a, S b, Matches m) {
    if (!swic(a, b)) false;
    m.m = new S[] {substring(a, l(b))};
    true;
  }
endif

Author comment

Began life as a copy of #1001499

download  show line numbers  debug dex   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1002835
Snippet name: swic - synonym of startsWithIgnoreCase
Eternal ID of this version: #1002835/2
Text MD5: d51fdd5af13278af7bf2c718689c641b
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-05-28 18:38:23
Source code size: 224 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 415 / 1075
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1002835 & http://1002835.tinybrain.de