[pmwiki-users] more WikiSh noob

adam overton a at plus1plus1plus.org
Sun Jun 8 03:43:02 CDT 2008


hi there
i'm wondering why:

	{(set -s blam = "darnit")}
	{(wikish echo "${blam:1:4}")}

... spits out "arni" (which is correct)
but

	{(set -s blam = "darnit")}
	{(wikish echo "${blam:0:4}")}

... spits out the whole string: "darnit", instead of "darn"
??
am i doing something wrong?
adam





More information about the pmwiki-users mailing list