def inside(a, b):
    """

		Checks if a is inside b, in order.

		>>> from lib.str import *
		>>> inside( "kw" , "keywords" )
		True
		>>> inside( "kywo" , "keywords" )
		True
		>>> inside( "ka" , "keywords" )
		False
		>>> inside( "keeywords" , "keywords" )
		False
		>>> inside( "a" , "action" )
		True
		>>> inside( "a" , "throttled" )
		False

	"""
    i = 0
    j = 0
    m = len(a)
    n = len(b)
    while i < m:
        if n - j < m - i:
            return False
        if a[i] == b[j]:
            i += 1
        j += 1
    return True
