The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Head and Tail functions
10-10-2015, 10:52 PM
Post: #1
Head and Tail functions
How to use head and tail with strings inside a program?

It seems quite inconsistent:
Code:
HOME:
tail("hola"); // return empty matrix
head("hola"); // return the same string

Syntax error if used uppercades (with msgbox)

Code:
CAS:
tail("hola"); // correct
head("hola"); // correct

Weird error if used uppercased (no msgbox) but return:
of(["Error: Bad Argument Value"])

Inside a program it seems to work like as in HOME, with or without CAS. in front

My website: ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Head and Tail functions - eried - 10-10-2015 10:52 PM
RE: Head and Tail functions - komame - 10-11-2015, 06:03 AM



User(s) browsing this thread: 1 Guest(s)