strings 861 B

12345678910111213141516171819202122232425262728293031323334
  1. string(5)
  2. string(0.5)
  3. string(-0.5)
  4. string(true())
  5. string(false())
  6. concat("titi","toto")
  7. concat("titi","toto","tata")
  8. concat("titi",'toto')
  9. concat("titi",'toto',"tata","last")
  10. starts-with("tititoto","titi")
  11. starts-with("tititoto","to")
  12. contains("tititototata","titi")
  13. contains("tititototata","toto")
  14. contains("tititototata","tata")
  15. contains("tititototata","tita")
  16. substring("12345",2,3)
  17. substring("12345",2)
  18. substring("12345",-4)
  19. substring("12345",3.4)
  20. substring("12345",3.6)
  21. substring("12345",1.5,2.6)
  22. substring("12345",2.2,2.2)
  23. substring("12345",0,3)
  24. substring("12345",-8,10)
  25. substring("12345",4,-10)
  26. substring("12345",0 div 0, 3)
  27. substring("12345",1, 0 div 0)
  28. substring("12345",1 div 0, 3)
  29. substring("12345",3,-1 div 0)
  30. substring("12345",-42, 1 div 0)
  31. substring("12345",-1 div 0, 1 div 0)
  32. substring("12345",-1 div 0,5)
  33. string-length("")
  34. string-length("titi")