Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
arnoudbuzing committed Aug 14, 2018
1 parent fb2aad2 commit b5b6826
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Prototypes/PacletInfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"Prototypes`$UUIDStringPattern", "Prototypes`LayeredGeoGraphics",
"Prototypes`RenderOnlineNotebook","Prototypes`CreateNotebookRenderAPI",
"Prototypes`CaptureFromIPCamera","Prototypes`Prototype", "Prototypes`FilePartition", "Prototypes`FileJoin",
"Prototypes`FilePattern", "Prototypes`StringFlip","Prototypes`Antonyms","Prototypes`Synonyms",
"Prototypes`FilePattern", "Prototypes`StringSwap","Prototypes`Antonyms","Prototypes`Synonyms",
"Prototypes`NounQ", "Prototypes`VerbQ", "Prototypes`AdjectiveQ",
"Prototypes`AdverbQ"},
Context -> {"Prototypes`"} }
Expand Down
2 changes: 1 addition & 1 deletion Prototypes/String.wl
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ $UUIDStringPattern =

CapitalizeSentences[string_] := StringReplace[string, Map[# -> Capitalize[#] &, TextSentences[string]]]

StringFlip[string_String, a_String <-> b_String] := StringReplace[string, {a -> b, b -> a}]
StringSwap[string_String, a_String <-> b_String] := StringReplace[string, {a -> b, b -> a}]
2 changes: 1 addition & 1 deletion Prototypes/Usage.wl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ StringLast::usage = "StringLast[string] returns the last character of 'string'";
StringRest::usage = "StringRest[string] returns string with the first character removed";
StringMost::usage = "StringMost[string] returns string with the last character removed";
CapitalizeSentences::usage = "CapitalizeSentences[string] capitalizes sentences in the given 'string'";
StringFlip::usage = "StringFlip[string, a<->b] replaces 'a' with 'b' and 'b' with 'a' in 'string'";
StringSwap::usage = "StringSwap[string, a<->b] swaps 'a' and 'b' in 'string'";
$UUIDStringPattern::usage = "$UUIDStringPattern will StringMatchQ a valid UUID";
(* geographics *)
RandomGeoPosition::usage = "RandomGeoPosition[] picks a random geo position";
Expand Down

0 comments on commit b5b6826

Please sign in to comment.