Skip to main content
deleted 266 characters in body
Source Link
user85052
user85052

GolfScript, 34 bytes

:a;7,{a"sdrmflsooeiaail"@>7%/,2=},

Try it online!

Explanation

:a;                                # Assign the input to the "accumulator"
   7,                              # Yields [0 1 2 3 4 5 6]
     {                          }, # Keep all that full fill this condition
                                   # Item = current item
                                   # ac = accumulator
      a"sdrmflsooeiaail"           # Stack: <item> <ac> "sdrmflsooeiaail"
                        @          # Stack: <ac> "sdrmflsooeiaail" <item>
                         >         # The slice begins at the current item
                          7%       # With a step of 7
                            /      # Try to split the input by the sliced item
                             ,2=   # Is the slice was successful?

GolfScript, 34 bytes

:a;7,{a"sdrmflsooeiaail"@>7%/,2=},

Try it online!

GolfScript, 34 bytes

:a;7,{a"sdrmflsooeiaail"@>7%/,2=},

Try it online!

Explanation

:a;                                # Assign the input to the "accumulator"
   7,                              # Yields [0 1 2 3 4 5 6]
     {                          }, # Keep all that full fill this condition
                                   # Item = current item
                                   # ac = accumulator
      a"sdrmflsooeiaail"           # Stack: <item> <ac> "sdrmflsooeiaail"
                        @          # Stack: <ac> "sdrmflsooeiaail" <item>
                         >         # The slice begins at the current item
                          7%       # With a step of 7
                            /      # Try to split the input by the sliced item
                             ,2=   # Is the slice was successful?
deleted 266 characters in body
Source Link
user85052
user85052

GolfScript, 3634 bytes

:a;"doremifalasi"2/["sol"]+a;7,{a\a"sdrmflsooeiaail"@>7%/,2=},

Try it online!

Explanation

In fact the whole thing is quite simple.Try it online!

:a; # Preserve the input
"doremifalasi"2/ # Split the string into chunks of 2
["sol"]+ # Add the outlier into the list
{a\/,2=}, # Filter out all items that aren't in the input
# Empty list is falsy. Nonempty list is truthy.

GolfScript, 36 bytes

:a;"doremifalasi"2/["sol"]+{a\/,2=},

Try it online!

Explanation

In fact the whole thing is quite simple.

:a; # Preserve the input
"doremifalasi"2/ # Split the string into chunks of 2
["sol"]+ # Add the outlier into the list
{a\/,2=}, # Filter out all items that aren't in the input
# Empty list is falsy. Nonempty list is truthy.

GolfScript, 34 bytes

:a;7,{a"sdrmflsooeiaail"@>7%/,2=},

Try it online!

deleted 28 characters in body
Source Link
user85052
user85052

GolfScript, 36 bytes

:a;"doremifalasi"2/["sol"]+{a\/,2=},

Try it online!Try it online!

Explanation

In fact the whole thing is quite simple.

:a; # Preserve the input
"doremifalasi"2/ # Split the string into chunks of 2
["sol"]+ # Add the outlier into the list
{a\/,2=}, # Filter out all items that aren't in the input
# Empty list is falsy. Nonempty list is truthy.

GolfScript, 36 bytes

:a;"doremifalasi"2/["sol"]+{a\/,2=},

Try it online!

Explanation

In fact the whole thing is quite simple.

:a; # Preserve the input
"doremifalasi"2/ # Split the string into chunks of 2
["sol"]+ # Add the outlier into the list
{a\/,2=}, # Filter out all items that aren't in the input
# Empty list is falsy. Nonempty list is truthy.

GolfScript, 36 bytes

:a;"doremifalasi"2/["sol"]+{a\/,2=},

Try it online!

Explanation

In fact the whole thing is quite simple.

:a; # Preserve the input
"doremifalasi"2/ # Split the string into chunks of 2
["sol"]+ # Add the outlier into the list
{a\/,2=}, # Filter out all items that aren't in the input
# Empty list is falsy. Nonempty list is truthy.
Golf my program
Source Link
user85052
user85052
Loading
Golf my program
Source Link
user85052
user85052
Loading
Golf my program
Source Link
user85052
user85052
Loading
added 362 characters in body
Source Link
user85052
user85052
Loading
added 379 characters in body
Source Link
user85052
user85052
Loading
added 43 characters in body
Source Link
user85052
user85052
Loading
Source Link
user85052
user85052
Loading