all there is; everything available
Used as a noun phrase meaning the entirety of something that exists or is available. Often appears in set phrases like ある限りの力 (all one's strength) or ある限りの金 (all the money one has).
He mustered all the strength he had.
I cooked using all the ingredients available in the fridge.
as long as there is; while there is
Functions as an adverbial clause meaning 'as long as something exists or is available'. Often followed by a statement of possibility or continuation. Can be used with nouns or verbs in dictionary form.
As long as I have money, I want to continue traveling.
Let's discuss this issue as long as we have time.
Kanji form using 有る; less common and may appear in formal or literary contexts.
Compound of the verb ある (to exist, to have) and the noun 限り (limit, extent). Literally 'the limit that exists', it developed into a set phrase meaning 'all there is' and 'as long as there is'.