Search
 
SCRIPT & CODE EXAMPLE
 

BASIC

sequnce function vb.net

    Private Function SequentialNumbers(ByVal input As String) As Boolean
        Dim numbers() As Int32 = Array.ConvertAll(input.ToCharArray(), Function(c) Convert.ToInt32(c))
        For index As Int32 = 0 To numbers.Length - 2
            For nestedIndex As Int32 = index + 1 To numbers.Length - 1
                If numbers(index) = numbers(nestedIndex) - 1 Then
                    Return True
                End If
            Next
        Next

        Return False
    End Function
Comment

PREVIOUS NEXT
Code Example
Elixir :: for loop in elixir 
Elixir :: elixir string to time 
Elixir :: elixir defguard 
Elixir :: elixir ecto query to sql 
Elixir :: elixir write base64 to file 
Elixir :: elixir enum all 
Elixir :: elixir mapset member 
Elixir :: elixir pick out elements in list 
Elixir :: elixir alias multiple module 
Scala :: scala length of string 
Scala :: scala tutorial 
Scala :: scala list all permutations 
Actionscript :: mv ~/.npmrc ~/.npmrc.old npm prefix -g 
Excel :: google sheets stack columns 
Excel :: unhide rows in excel 
Perl :: perl exit loop 
Perl :: mean data frame columns by group R 
Pascal :: pascal wait for key 
Pascal :: pascal cheat sheet for programmers 
Gdscript :: godot check if timer is running 
Clojure :: clojure write file 
Assembly :: Cannot open self /usr/local/bin/docker-compose 
Assembly :: difference between machine language and assembly language 
Assembly :: how to custom style material ui 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery remove required attribute 
Javascript :: react refresh page 
Javascript :: javascript void(0) href 
Javascript :: get tomorrows date using moment 
Javascript :: random number between 0 and 3 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =