String functions
The CICS® TS Feature Pack for Dynamic Scripting V2.0
supports String functions.
All PHP functions are described in detail in the PHP manual at php.net.
The following String functions are supported:
addcslashes
addslashes
bin2hex
chop
chr
chunk_split
convert_cyr_string
convert_uudecode
convert_uuencode
count_chars
crc32
echo
explode
fprintf
get_html_translation_table
hebrev
hebrevc
html_entity_decode 1
htmlentities 1
htmlspecialchars 1
htmlspecialchars_decode
implode
join
levenshtein
localeconv
ltrim
md5
md5_file
metaphone
money_format
nl2br
nl_langinfo
number_format
ord
parse_str
print
printf
quoted_printable_decode
quotemeta
rtrim
sha1
sha1_file
similar_text
soundex
sprintf
sscanf
str_ireplace
str_pad
str_repeat
str_replace
str_rot13
str_shuffle
str_split
str_word_count
strcasecmp
strchr
strcmp
strcoll
strcspn
strip_tags
stripcslashes
stripos
stripslashes
stristr
strlen
strnatcasecmp
strnatcmp
strncasecmp
strncmp
strpbrk
strpos
strrchr
strrev
strripos
strrpos
strspn
strstr
strtok
strtolower
strtoupper
strtr
substr
substr_compare
substr_count
substr_replace
trim
ucfirst
ucwords
vfprintf
vprintf
vsprintf
wordwrap
addslashes
bin2hex
chop
chr
chunk_split
convert_cyr_string
convert_uudecode
convert_uuencode
count_chars
crc32
echo
explode
fprintf
get_html_translation_table
hebrev
hebrevc
html_entity_decode 1
htmlentities 1
htmlspecialchars 1
htmlspecialchars_decode
implode
join
levenshtein
localeconv
ltrim
md5
md5_file
metaphone
money_format
nl2br
nl_langinfo
number_format
ord
parse_str
printf
quoted_printable_decode
quotemeta
rtrim
sha1
sha1_file
similar_text
soundex
sprintf
sscanf
str_ireplace
str_pad
str_repeat
str_replace
str_rot13
str_shuffle
str_split
str_word_count
strcasecmp
strchr
strcmp
strcoll
strcspn
strip_tags
stripcslashes
stripos
stripslashes
stristr
strlen
strnatcasecmp
strnatcmp
strncasecmp
strncmp
strpbrk
strpos
strrchr
strrev
strripos
strrpos
strspn
strstr
strtok
strtolower
strtoupper
strtr
substr
substr_compare
substr_count
substr_replace
trim
ucfirst
ucwords
vfprintf
vprintf
vsprintf
wordwrap
Notes relating to specific String functions:
- 1 This results in a warning if the specified character set hint is not equal to the php.ini setting for unicode.runtime_encoding.