String Functions: Remaining Unclassified functions
November 22, 2024 ยท View on GitHub
-
NULL(): Returns a Null value -
UuidCreate(): Creates a Unique identifier. -
swapcase() Swaps cases, lower case becomes upper case and vice versa -
upper() Converts a string into upper case -
isnumeric() Returns True if all characters in the string are numeric -
isdecimal() Returns True if all characters in the string are decimals -
istitle() Returns True if the string follows the rules of a title -
isupper() Returns True if all characters in the string are upper case -
islower() Returns True if all characters in the string are lower case -
isalpha() Returns True if all characters in the string are in the alphabet -
isdigit() Returns True if all characters in the string are digits -
isidentifier() Returns True if the string is an identifier
Standard string operations
-
zfill() Fills the string with a specified number of 0 values at the beginning -
trim() Returns a trimmed version of the string -
ltrim() Returns a trimmed version of the string -
rtrim() Returns a trimmed version of the string -
reserved:
strip(x) Returns a string with matching areas removed, e.g. remove spaces, remove -
replace() Returns a string where a specified value is replaced with a specified value -
rfind() Searches the string for a specified value and returns the last position of where it was found -
rindex() Searches the string for a specified value and returns the last position of where it was found -
lpad
-
rpad
-
rjust() Returns a right justified version of the string -
rpartition() Returns a tuple where the string is parted into three parts -
rsplit() Splits the string at the specified separator, and returns a list -
rstrip() Returns a right trim version of the string -
split() Splits the string at the specified separator, and returns a list -
splitlines() Splits the string at line breaks and returns a list -
startswith() Returns true if the string starts with the specified value -
title() Converts the first character of each word to upper case -
translate() Returns a translated string -
format() Formats specified values in a string -
format_map() Formats specified values in a string -
index() Searches the string for a specified value and returns the position of where it was found -
isalnum() Returns True if all characters in the string are alphanumeric -
isalpha() Returns True if all characters in the string are in the alphabet -
isdecimal() Returns True if all characters in the string are decimals -
isdigit() Returns True if all characters in the string are digits -
isidentifier() Returns True if the string is an identifier -
islower() Returns True if all characters in the string are lower case -
isnumeric() Returns True if all characters in the string are numeric -
isprintable() Returns True if all characters in the string are printable -
isspace() Returns True if all characters in the string are whitespaces -
istitle() Returns True if the string follows the rules of a title -
isupper() Returns True if all characters in the string are upper case -
join() Joins the elements of an iterable to the end of the string -
ljust() Returns a left justified version of the string -
lower() Converts a string into lower case -
lstrip() Returns a left trim version of the string -
maketrans() Returns a translation table to be used in translations -
partition() Returns a tuple where the string is parted into three parts -
replace() Returns a string where a specified value is replaced with a specified value -
rfind() Searches the string for a specified value and returns the last position of where it was found -
rindex() Searches the string for a specified value and returns the last position of where it was found -
rjust() Returns a right justified version of the string -
rpartition() Returns a tuple where the string is parted into three parts -
rsplit() Splits the string at the specified separator, and returns a list -
rstrip() Returns a right trim version of the string -
split() Splits the string at the specified separator, and returns a list -
splitlines() Splits the string at line breaks and returns a list -
startswith() Returns true if the string starts with the specified value -
strip() Returns a trimmed version of the string -
swapcase() Swaps cases, lower case becomes upper case and vice versa -
title() Converts the first character of each word to upper case -
translate() Returns a translated string -
upper() Converts a string into upper case -
zfill() Fills the string with a specified number of 0 values at the beginning -
close() Closes the file -
detach() Returns the separated raw stream from the buffer -
fileno() Returns a number that represents the stream, from the operating system's perspective -
flush() Flushes the internal buffer -
isatty() Returns whether the file stream is interactive or not -
read() Returns the file content -
readable() Returns whether the file stream can be read or not -
readline() Returns one line from the file -
readlines() Returns a list of lines from the file -
seek() Change the file position -
seekable() Returns whether the file allows us to change the file position -
tell() Returns the current file position -
truncate() Resizes the file to a specified size -
writable() Returns whether the file can be written to or not -
write() Writes the specified string to the file -
writelines() Writes a list of strings to the file -
abs() Returns the absolute value of a number -
all() Returns True if all items in an iterable object are true -
any() Returns True if any item in an iterable object is true -
ascii() Returns a readable version of an object. Replaces none-ascii characters with escape character -
bin() Returns the binary version of a number -
bool() Returns the boolean value of the specified object -
bytearray() Returns an array of bytes -
bytes() Returns a bytes object -
callable() Returns True if the specified object is callable, otherwise False -
chr() Returns a character from the specified Unicode code. -
classmethod() Converts a method into a class method -
compile() Returns the specified source as an object, ready to be executed -
complex() Returns a complex number -
delattr() Deletes the specified attribute (property or method) from the specified object -
dict() Returns a dictionary (Array) -
dir() Returns a list of the specified object's properties and methods -
divmod() Returns the quotient and the remainder when argument1 is divided by argument2 -
enumerate() Takes a collection (e.g. a tuple) and returns it as an enumerate object -
eval() Evaluates and executes an expression -
exec() Executes the specified code (or object) -
filter() Use a filter function to exclude items in an iterable object -
float() Returns a floating point number -
format() Formats a specified value -
getattr() Returns the value of the specified attribute (property or method) -
globals() Returns the current global symbol table as a dictionary -
hasattr() Returns True if the specified object has the specified attribute (property/method) -
hash() Returns the hash value of a specified object -
help() Executes the built-in help system -
hex() Converts a number into a hexadecimal value -
id() Returns the id of an object -
input() Allowing user input -
int() Returns an integer number -
isinstance() Returns True if a specified object is an instance of a specified object -
issubclass() Returns True if a specified class is a subclass of a specified object -
iter() Returns an iterator object -
len() Returns the length of an object -
list() Returns a list -
locals() Returns an updated dictionary of the current local symbol table -
map() Returns the specified iterator with the specified function applied to each item -
max() Returns the largest item in an iterable -
memoryview() Returns a memory view object -
min() Returns the smallest item in an iterable -
next() Returns the next item in an iterable -
object() Returns a new object -
oct() Converts a number into an octal -
open() Opens a file and returns a file object -
ord() Convert an integer representing the Unicode of the specified character -
pow() Returns the value of x to the power of y -
print() Prints to the standard output device -
property() Gets, sets, deletes a property -
range() Returns a sequence of numbers, starting from 0 and increments by 1 (by default) -
repr() Returns a readable version of an object -
reversed() Returns a reversed iterator -
round() Rounds a numbers -
set() Returns a new set object -
setattr() Sets an attribute (property/method) of an object -
slice() Returns a slice object -
sorted() Returns a sorted list -
@staticmethod() Converts a method into a static method -
str() Returns a string object -
sum() Sums the items of an iterator -
super() Returns an object that represents the parent class -
tuple() Returns a tuple -
type() Returns the type of an object -
vars() Returns the dict property of an object -
zip() Returns an iterator, from two or more iterators -
String()Creates a new String object. It performs type conversion when called as a function, rather than as a constructor, which is usually more useful. -
String.raw()- Returns a string created from a raw template string. For most languages, this will return the same as toLowerCase(). For most languages, this will return the same as toUpperCase(). -
String.prototype.toLowerCase()-Returns the calling string value converted to lowercase. -
String.prototype.toString()- Returns a string representing the specified object. Overrides the Object.prototype.toString() method. -
String.prototype.toUpperCase()- Returns the calling string value converted to uppercase. -
String.prototype.trim()- Trims whitespace from the beginning and end of the string. Part of the ECMAScript 5 standard. -
String.prototype.trimStart()- Trims whitespace from the beginning of the string. -
String.prototype.trimEnd()- Trims whitespace from the end of the string. -
String.prototype.valueOf()- Returns the primitive value of the specified object. Overrides the Object.prototype.valueOf() method. -
String.prototype.@@iterator()- Returns a new iterator object that iterates over the code points of a String value, returning each code point as a String value. -
String.prototype.anchor()<a name="name">(hypertext target) -
String.prototype.big()<big> -
String.prototype.blink()<blink> -
String.prototype.bold()<b> -
String.prototype.fixed()<tt> -
String.prototype.fontcolor()<font color="color"> -
String.prototype.fontsize()<font size="size"> -
String.prototype.italics()<i> -
String.prototype.link()<a href="url">(link to URL) -
String.prototype.small()<small> -
String.prototype.strike()<strike> -
String.prototype.sub()<sub> -
String.prototype.sup()<sup> -
charAt()Returns the character at the specified index (position) -
charCodeAt()Returns the Unicode of the character at the specified index -
concat()Joins two or more strings, and returns a new joined strings -
endsWith()Checks whether a string ends with specified string/characters -
fromCharCode()Converts Unicode values to characters -
includes()Checks whether a string contains the specified string/characters -
indexOf()Returns the position of the first found occurrence of a specified value in a string -
lastIndexOf()Returns the position of the last found occurrence of a specified value in a string -
localeCompare()Compares two strings in the current locale -
match()Searches a string for a match against a regular expression, and returns the matches -
repeat()Returns a new string with a specified number of copies of an existing string -
replace()Searches a string for a specified value, or a regular expression, and returns a new string where the specified values are replaced -
search()Searches a string for a specified value, or regular expression, and returns the position of the match -
slice()Extracts a part of a string and returns a new string -
split()Splits a string into an array of substrings -
startsWith()Checks whether a string begins with specified characters -
substr()Extracts the characters from a string, beginning at a specified start position, and through the specified number of character -
substring()Extracts the characters from a string, between two specified indices -
toLocaleLowerCase()Converts a string to lowercase letters, according to the host's locale -
toLocaleUpperCase()Converts a string to uppercase letters, according to the host's locale -
toLowerCase()Converts a string to lowercase letters -
toString()Returns the value of a String object -
toUpperCase()Converts a string to uppercase letters -
trim()Removes whitespace from both ends of a string -
valueOf()Returns the primitive value of a String object -
random()Returns a random number between 0 and 1 -
compile()Deprecated in version 1.5. Compiles a regular expression -
exec()Tests for a match in a string. Returns the first match -
test()Tests for a match in a string. Returns true or false -
toString()Returns the string value of the regular expression -
(string.)
match() -
(string.)
matchAll()