Difference between revisions of "Code Snippets"

From Coder Merlin
m (Added regular expression page link)
m (Formatting)
Line 1: Line 1:
= User Input =
= User Input =
# [[Code Snippet: User Input-Single Line]]
# [[Code Snippet: User Input-Single Line|User Input-Single Line]]
# [[Code Snippet: User Input-Multi Line]]
# [[Code Snippet: User Input-Multi Line|User Input-Multi Line]]
# [[Code Snippet: Prompt for Yes or No|Prompt for Yes or No]]
# [[Code Snippet: Prompt for Yes or No|Prompt for Yes or No]]


= Randomness =
= Randomness =
# [[Code Snippet: Random Integers]]
# [[Code Snippet: Random Integers|Random Integers]]
# [[Code Snippet: Random Fractions]]
# [[Code Snippet: Random Fractions|Random Fractions]]
# [[Code Snippet: Random Boolean]]
# [[Code Snippet: Random Boolean|Random Boolean]]
# [[Code Snippet: Random Strings]]
# [[Code Snippet: Random Strings|Random Strings]]
# [[Code Snippet: Shuffle Strings]]
# [[Code Snippet: Shuffle Strings|Shuffle Strings]]


= Strings and Characters =
= Strings and Characters =
Line 18: Line 18:
# [[Code Snippet: Print All Integers in a String|Print All Integers in a String]]
# [[Code Snippet: Print All Integers in a String|Print All Integers in a String]]
# [[Code Snippet: Splitting Key-Value Pairs into Components|Splitting Key-Value Pairs into Components]]
# [[Code Snippet: Splitting Key-Value Pairs into Components|Splitting Key-Value Pairs into Components]]
# [[Code Snippet: Check if String Begins with Prefix and Retrieve Remainder]]
# [[Code Snippet: Check if String Begins with Prefix and Retrieve Remainder|Check if String Begins with Prefix and Retrieve Remainder]]
# [[Code Snippet: Access Individual Characters]]
# [[Code Snippet: Access Individual Characters|Access Individual Characters]]
# [[Code Snippet: Matching Regular Expressions]]
# [[Code Snippet: Matching Regular Expressions|Matching Regular Expressions]]


= Printing =
= Printing =

Revision as of 21:35, 26 January 2020