Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

3/2/2006 8:36:04 PM
-68.209.248.222
3/2/2006 6:50:29 AM
-68.209.248.222
3/2/2006 6:47:51 AM
-68.209.248.222
3/2/2006 6:45:44 AM
-68.209.248.222
3/2/2006 6:43:23 AM
-68.209.248.222
List all versions List all versions

RSS feed for the FlexWiki namespace

Nathan Jones Utilities
.
Summary

StartsWith

StartsWith

Returns true if the source string starts with the prefix

StartsWithIgnoreCase

Returns true if the source string starts with the prefix, ignoring case of source and prefix

StartsWith("Foo","Fo") = true

StartsWith("Foo","bar") = false

StartsWith("Fo","foo") = false

StartsWith("Fo","Fo") = true

EndsWith

EndsWith

Returns true if the source string ends with the postfix

EndsWithIgnoreCase

Returns true if the source string ends with the postfix, ignoring case of source and postfix

EndsWith("Fo","o") = true

EndsWith("Fo","b") = false

EndsWith("Fo","Foo") = false

EndsWith("o,"o") = true

GetTopicsWithPrefix

GetTopicsWithPrefix

Returns an Array of Topics that have one or more WikiPageProperties that start with the topicPrefix specified

GetPropertyNamesWithPrefix

GetPropertyNamesWithPrefix

Returns an Array of Arrays containing the Topic Name and the Property Name for each of the intopic's Properties that start with the specified topicPrefix

GetTodos

GetTodos

Prints the following table (there are two hidden properties on this page.) The properties read are any that start with the word "Todo", so

 TodoStatus: Update the status
 Todo: need this here
 TodoFoo: foo needs bar

will all be hit by this code. Note that if you use the same property multiple times, (e.g., just the word 'Todo',) WikiTalk will only supply the last one specified in the page

Topic Name Note
NathanJonesUtilities Test1 A test todo for demo
NathanJonesUtilities Test2 Another test todo for demo

A variation on this that we use since we have NT-authentication turned on is to change the

 owner.Equals(each.GetProperty("Owner"))

test to

 EndsWithIgnoreCase(each.GetProperty("Owner"),owner)

to help with people that just put their nt login names without the domain

Not logged in. Log in

Welcome to the home of FlexWiki, a collaboration tool, based on WikiWiki, implemented using Microsoft .NET technologies

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics