Search
 
SCRIPT & CODE EXAMPLE
 

SCALA

scala option

val nameMaybe = request getParameter "name"
nameMaybe match {
  case Some(name) =>
    println(name.trim.toUppercase)
  case None =>
    println("No name value")
}
Comment

PREVIOUS NEXT
Code Example
Scala :: Category Theory laws in scala 
Scala :: how to make anonymous function in scala 
Scala :: scala yield how to share one loop 
Scala :: how loop in scala 
Scala :: get last index of list scala 
Actionscript :: move records from table to another using knex migration 
Actionscript :: truncate restart identity - syntax error at or near "identity" 
Excel :: google sheets select first n matches 
Excel :: google sheets sort column by item frequency 
Excel :: or in excel 
Perl :: perl replace substring 
Perl :: print a variable perl 
Perl :: what is perl poetry 
Pascal :: pascal exception handling 
Pascal :: Pascal Game 
Powershell :: How to download jira attachments using curl 
Gdscript :: godot update value in progressbar 
Lisp :: common lisp ide macos 
Assembly :: x86 assembly hello world 
Assembly :: Discord bot name of person being tagged 
Assembly :: google appscripts cell get background color 
Javascript :: jquery vslidation remove spaces from input 
Javascript :: jquery 2 decimal places 
Javascript :: how to insatll react-router-dom 
Javascript :: jquery delay 1 second 
Javascript :: chrome design mode console 
Javascript :: f.select on change jquery 
Javascript :: execute after one second javascript 
Javascript :: electron hide menu bar 
Javascript :: javacsript update text in span 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =