File: coolstr.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (14 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# coolstr package
# Matthew Bertucci 1/8/2021 for v2.2

\substr{string}{index}{numchar}
\isdecimal{string}{boolean}
\isnumeric{string}{boolean}
\isint{string}{boolean}

\setstrEnd{string}
\strchar{index}#*
\strlen{string}#*
\strlenstore{string}{counter}#*
\ifstrchareq{string}{char index}{comparison char}{true}{false}#*
\ifstrleneq{string}{number}{true}{false}#*